mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- 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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue