- added target check to A_MaulerTorpedoWave.

This commit is contained in:
Christoph Oelckers 2022-11-05 10:19:38 +01:00
parent 500e2d6c5a
commit d4df121053

View file

@ -240,6 +240,7 @@ class MaulerTorpedo : Actor
action void A_MaulerTorpedoWave()
{
if (target == null) return;
readonly<Actor> wavedef = GetDefaultByType("MaulerTorpedoWave");
double savedz = pos.z;
angle += 180.;