Fixed regression from 6e20d86941
in which flag OF_PLAYER_DROPPED in drop_powerup would only be set for OBJ_ROBOT but not OBJ_POWERUP, making the Guidebot unable to locate player spew
This commit is contained in:
parent
34b24c0d69
commit
bfe6149cdb
|
@ -855,6 +855,10 @@ objptridx_t drop_powerup(int type, int id, int num, const vms_vector &init_vel,
|
|||
Int3();
|
||||
return object_none;
|
||||
}
|
||||
#if defined(DXX_BUILD_DESCENT_II)
|
||||
if (player)
|
||||
obj->flags |= OF_PLAYER_DROPPED;
|
||||
#endif
|
||||
|
||||
if (Game_mode & GM_MULTI)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue