- fixed copy/paste error.

This commit is contained in:
Christoph Oelckers 2015-04-30 12:31:47 +02:00
parent 84351419a3
commit 50a3f8a3d2

View file

@ -4349,7 +4349,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(FogType, prevX, prevY, prevZ, ALLOW_REPLACE); fog2 = Spawn(FogType, ref->x, ref->y, ref->z, ALLOW_REPLACE);
if (fog2 != NULL) if (fog2 != NULL)
fog2->target = ref; fog2->target = ref;
} }