- 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
parent 2d4f02c560
commit 284fd3e20f
1 changed files with 1 additions and 1 deletions

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;