From 50a3f8a3d2eed2b463457f2cdceef866ed8e8d07 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 30 Apr 2015 12:31:47 +0200 Subject: [PATCH] - fixed copy/paste error. --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index 10a64812e..b0147113e 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -4349,7 +4349,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Teleport) P_SpawnTeleportFog(ref, ref->x, ref->y, ref->z, false, true); else { - fog2 = Spawn(FogType, prevX, prevY, prevZ, ALLOW_REPLACE); + fog2 = Spawn(FogType, ref->x, ref->y, ref->z, ALLOW_REPLACE); if (fog2 != NULL) fog2->target = ref; }