From 284fd3e20f73103d431c88a60d26731954f702e7 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Thu, 19 Feb 2015 16:30:00 -0600 Subject: [PATCH] - Fixed: relz was never initialized. - This could cause problems in places like the GZDoom renderer in the odd circumstance, causing the camera to become stuck in the floor or ceiling until the quake expires. --- src/g_shared/a_quake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/a_quake.cpp b/src/g_shared/a_quake.cpp index 874ecbb51..044d51643 100644 --- a/src/g_shared/a_quake.cpp +++ b/src/g_shared/a_quake.cpp @@ -158,7 +158,7 @@ int DEarthquake::StaticGetQuakeIntensities(AActor *victim, return 0; } - x = y = z = relx = rely = 0; + x = y = z = relx = rely = relz = 0; TThinkerIterator iterator(STAT_EARTHQUAKE); DEarthquake *quake;