mirror of https://github.com/ZDoom/qzdoom.git
- 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:
parent
2d4f02c560
commit
284fd3e20f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue