- 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.
This commit is contained in:
MajorCooke 2015-02-19 16:30:00 -06:00
commit 284fd3e20f

View file

@ -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<DEarthquake> iterator(STAT_EARTHQUAKE);
DEarthquake *quake;