mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +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.z = z;
|
||||||
tmf.touchmidtex = false;
|
tmf.touchmidtex = false;
|
||||||
tmf.abovemidtex = false;
|
tmf.abovemidtex = false;
|
||||||
P_GetFloorCeilingZ(tmf, FFCF_ONLYSPAWNPOS);
|
P_GetFloorCeilingZ(tmf, 0);
|
||||||
|
|
||||||
spechit.Clear ();
|
spechit.Clear ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue