- Plugged more leaks in SBARINFO.
- Spawned actors that have MF2_DORMANT set in their default instance now have Deactivate() called on them immediately after spawning. SVN r707 (trunk)
This commit is contained in:
parent
d36d4aa863
commit
25e0f0644a
6 changed files with 164 additions and 95 deletions
|
|
@ -90,6 +90,7 @@
|
|||
#include "templates.h"
|
||||
#include "teaminfo.h"
|
||||
#include "hardware.h"
|
||||
#include "sbarinfo.h"
|
||||
|
||||
EXTERN_CVAR(Bool, hud_althud)
|
||||
void DrawHUD();
|
||||
|
|
@ -2429,6 +2430,15 @@ void D_DoomMain (void)
|
|||
StartScreen->LoadingStatus ("Init game engine", 0x3f);
|
||||
P_Init ();
|
||||
|
||||
//SBarInfo support.
|
||||
if(Wads.CheckNumForName("SBARINFO") != -1)
|
||||
{
|
||||
Printf ("ParseSBarInfo: Loading custom status bar definition.\n");
|
||||
SBarInfoScript = new SBarInfo(Wads.GetNumForName("SBARINFO")); //load last SBARINFO lump to avoid clashes
|
||||
atterm(FreeSBarInfoScript);
|
||||
}
|
||||
//end most of the SBarInfo stuff
|
||||
|
||||
Printf ("D_CheckNetGame: Checking network game status.\n");
|
||||
StartScreen->LoadingStatus ("Checking network game status.", 0x3f);
|
||||
D_CheckNetGame ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue