Skip to content

Commit

Permalink
Fixed: When teleporting in jDoom64, always set the mobj's z position …
Browse files Browse the repository at this point in the history
…to floor height.
  • Loading branch information
danij committed Jun 14, 2008
1 parent 6cd79ca commit cbe6b62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/plugins/jdoom64/src/p_telept.c
Expand Up @@ -143,6 +143,8 @@ int EV_Teleport(linedef_t* line, int side, mobj_t* mo, boolean spawnFog)
if(!P_TeleportMove(mo, dest->pos[VX], dest->pos[VY], false))
return 0;

mo->pos[VZ] = mo->floorZ;

if(spawnFog)
{
// Spawn teleport fog at source and destination.
Expand Down

0 comments on commit cbe6b62

Please sign in to comment.