- fixed: Trying to show a popup crashed in the SBARINFO code because of a

missing NULL pointer check.


SVN r2080 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-02 12:50:37 +00:00
parent ff95948017
commit 435861d671
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
January 2, 2010 (Changes by Graf Zahl)
January 2, 2010 (Changes by Graf Zahl)
- fixed: Trying to show a popup crashed in the SBARINFO code because of a
missing NULL pointer check.
- fixed: The ACS thinker needs its own statnum above all actors. Otherwise
order of execution is not guaranteed.
- fixed: Only ActorMovers should go into STAT_ACTORMOVER, not all PathFollowers.

View file

@ -967,7 +967,7 @@ public:
script->popups[currentPopup-1].open();
}
lastPopup->Tick(NULL, this, false);
if (lastPopup != NULL) lastPopup->Tick(NULL, this, false);
}
script->huds[lastHud]->Tick(NULL, this, false);