mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
- Don't set both self and pointer's z to spotz when teleporting.
This commit is contained in:
parent
710fa55288
commit
09733d8083
1 changed files with 0 additions and 1 deletions
|
@ -4380,7 +4380,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Teleport)
|
||||||
}
|
}
|
||||||
|
|
||||||
ref->SetZ((flags & TF_USESPOTZ) ? spot->Z() : ref->floorz, false);
|
ref->SetZ((flags & TF_USESPOTZ) ? spot->Z() : ref->floorz, false);
|
||||||
self->SetZ((flags & TF_USESPOTZ) ? spot->Z() : self->floorz, false);
|
|
||||||
|
|
||||||
if (!(flags & TF_KEEPANGLE))
|
if (!(flags & TF_KEEPANGLE))
|
||||||
ref->angle = spot->angle;
|
ref->angle = spot->angle;
|
||||||
|
|
Loading…
Reference in a new issue