- scriptified the SBARINFO wrapper.
This serves no purpose in itself but it removes a native side class from the status bar class hierarchy which allows for better editing options later.
This commit is contained in:
parent
04c2565d7f
commit
1423d5f42a
14 changed files with 232 additions and 152 deletions
|
|
@ -923,7 +923,7 @@ static void ChangeSpy (int changespy)
|
|||
|
||||
players[consoleplayer].camera = players[pnum].mo;
|
||||
S_UpdateSounds(players[consoleplayer].camera);
|
||||
StatusBar->CallAttachToPlayer (&players[pnum]);
|
||||
StatusBar->AttachToPlayer (&players[pnum]);
|
||||
if (demoplayback || multiplayer)
|
||||
{
|
||||
StatusBar->ShowPlayerName ();
|
||||
|
|
@ -1823,7 +1823,7 @@ void G_DoPlayerPop(int playernum)
|
|||
players[ii].camera = players[ii].mo;
|
||||
if (ii == consoleplayer && StatusBar != NULL)
|
||||
{
|
||||
StatusBar->CallAttachToPlayer(&players[ii]);
|
||||
StatusBar->AttachToPlayer(&players[ii]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2909,7 +2909,7 @@ bool G_CheckDemoStatus (void)
|
|||
players[0].camera = NULL;
|
||||
if (StatusBar != NULL)
|
||||
{
|
||||
StatusBar->CallAttachToPlayer (&players[0]);
|
||||
StatusBar->AttachToPlayer (&players[0]);
|
||||
}
|
||||
if (singledemo || timingdemo)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue