- Fixed crash when teleporting. P_TeleportMove() must not pass FFCF_ONLYSPAWNPOS to

P_GetFloorCeilingZ(). I got confused because its bool parameter's meaning had been the
  opposite of P_FindFloorCeiling()'s bool parameter before they got changed to flags.

SVN r3543 (trunk)
This commit is contained in:
Randy Heit 2012-04-08 20:01:43 +00:00
parent d0bba7c3c3
commit 22a0c92ab8
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ bool P_TeleportMove (AActor *thing, fixed_t x, fixed_t y, fixed_t z, bool telefr
tmf.z = z;
tmf.touchmidtex = false;
tmf.abovemidtex = false;
P_GetFloorCeilingZ(tmf, FFCF_ONLYSPAWNPOS);
P_GetFloorCeilingZ(tmf, 0);
spechit.Clear ();