Skip to content

Commit

Permalink
Fixed|libcommon: Player spawn under 3D bridge object fails
Browse files Browse the repository at this point in the history
Attempting to spawn a player at a map spot below/above a 3D bridge
object failed because the dummy player mobj used to validate whether
this location was open removed the "mf2_passmobj" flag.

See: [#1033]
  • Loading branch information
danij-deng committed Sep 22, 2013
1 parent 6c186bc commit b5c737e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/p_start.cpp
Expand Up @@ -868,7 +868,7 @@ boolean P_CheckSpot(coord_t x, coord_t y)
if(!dummy) Con_Error("P_CheckSpot: Failed creating dummy mobj.");

dummy->flags &= ~MF_PICKUP;
dummy->flags2 &= ~MF2_PASSMOBJ;
//dummy->flags2 &= ~MF2_PASSMOBJ;

boolean result = P_CheckPosition(dummy, pos);

Expand Down

0 comments on commit b5c737e

Please sign in to comment.