mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed: The BossCube must account for its target being gone.
This commit is contained in:
parent
79f0deaff4
commit
9653aa95a4
1 changed files with 6 additions and 0 deletions
|
@ -285,6 +285,12 @@ extend class Actor
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue