mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- It's Height, not height...
This commit is contained in:
parent
5a3147407e
commit
f536523fbd
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_MaulerTorpedoWave)
|
||||||
|
|
||||||
// If the torpedo hit the ceiling, it should still spawn the wave
|
// If the torpedo hit the ceiling, it should still spawn the wave
|
||||||
savedz = self->Z();
|
savedz = self->Z();
|
||||||
if (wavedef && self->ceilingz < self->Z() + wavedef->height)
|
if (wavedef && self->ceilingz < self->Z() + wavedef->Height)
|
||||||
{
|
{
|
||||||
self->SetZ(self->ceilingz - wavedef->Height);
|
self->SetZ(self->ceilingz - wavedef->Height);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue