When dropping carried items, allow them to be picked up again(!)

This commit is contained in:
Steve 2018-03-03 16:05:55 +00:00
parent 836eaa5b50
commit a08d52c2fb
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ void dropCarriedItems(void)
item->flags &= ~EF_GONE;
item->x = world.bob->checkpoints[0].x;
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 */
item->thinkTime = FPS * 9999;
}