mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
33ac551a9a
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