mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 15:44:24 +00:00
Merge branch 'master' into scripting
Conflicts: src/thingdef/thingdef_codeptr.cpp
This commit is contained in:
commit
d96edb5c68
1 changed files with 1 additions and 1 deletions
|
@ -4685,7 +4685,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Teleport)
|
||||||
P_SpawnTeleportFog(ref, ref->x, ref->y, ref->z, false, true);
|
P_SpawnTeleportFog(ref, ref->x, ref->y, ref->z, false, true);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fog2 = Spawn(fog_type, prevX, prevY, prevZ, ALLOW_REPLACE);
|
fog2 = Spawn(fog_type, ref->x, ref->y, ref->z, ALLOW_REPLACE);
|
||||||
if (fog2 != NULL)
|
if (fog2 != NULL)
|
||||||
fog2->target = ref;
|
fog2->target = ref;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue