mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- 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:
parent
d0bba7c3c3
commit
22a0c92ab8
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue