Skip to content

Commit

Permalink
Fixed|Client: Things weren't placed on the floor
Browse files Browse the repository at this point in the history
Mixup between float* and coord_t* when checking for the client-side floor
plane height. Monsters walking down stairs would hover in the air, for
instance.
  • Loading branch information
skyjake committed May 10, 2012
1 parent b035aec commit 13727d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/cl_mobj.c
Expand Up @@ -967,7 +967,7 @@ void ClMobj_ReadDelta2(boolean skip)
// different than the server-side floor.
if(!d->dPlayer && onFloor && gx.MobjCheckPositionXYZ)
{
float* floorZ = gx.GetVariable(DD_TM_FLOOR_Z);
coord_t* floorZ = gx.GetVariable(DD_TM_FLOOR_Z);
if(floorZ)
{
gx.MobjCheckPositionXYZ(d, d->origin[VX], d->origin[VY], DDMAXFLOAT);
Expand Down

0 comments on commit 13727d5

Please sign in to comment.