diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 67f7d1685..c9693ba47 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -4084,7 +4084,7 @@ AActor *AActor::StaticSpawn (const PClass *type, fixed_t ix, fixed_t iy, fixed_t } else { - actor->SpawnPoint[2] = (actor->Z() - actor->floorz); + actor->SpawnPoint[2] = (actor->Z() - actor->Sector->floorplane.ZatPoint(actor)); } if (actor->FloatBobPhase == (BYTE)-1) actor->FloatBobPhase = rng(); // Don't make everything bob in sync (unless deliberately told to do)