mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
- fixed: The BossCube must account for its target being gone.
This commit is contained in:
parent
4ed793eb3b
commit
e09ed1026c
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