When dropping carried items, allow them to be picked up again(!)
This commit is contained in:
parent
836eaa5b50
commit
a08d52c2fb
|
@ -184,6 +184,10 @@ void dropCarriedItems(void)
|
||||||
item->flags &= ~EF_GONE;
|
item->flags &= ~EF_GONE;
|
||||||
item->x = world.bob->checkpoints[0].x;
|
item->x = world.bob->checkpoints[0].x;
|
||||||
item->y = world.bob->checkpoints[0].y;
|
item->y = world.bob->checkpoints[0].y;
|
||||||
|
item->collected = 0;
|
||||||
|
item->canBeCarried = 1;
|
||||||
|
item->canBePickedUp = 1;
|
||||||
|
|
||||||
/* items can only be collected if they have a thinktime of 0 */
|
/* items can only be collected if they have a thinktime of 0 */
|
||||||
item->thinkTime = FPS * 9999;
|
item->thinkTime = FPS * 9999;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue