- fixed: The BossCube must account for its target being gone.

This commit is contained in:
Christoph Oelckers 2018-07-27 08:46:28 +02:00 committed by drfrag666
parent 4ed793eb3b
commit e09ed1026c

View file

@ -284,6 +284,12 @@ extend class Actor
Actor eye = master; // The eye is the spawnshot's master, not the target!
Actor targ = target; // Unlike other projectiles, the target is the intended destination.
int r;
if (targ == null)
{
Destroy();
return;
}
// [GZ] Should be more viable than a countdown...
if (special2 != 0)