- Add support for Skulltag ACS IsNetworkGame.

Once known as PlayerOnTeam, then it became IsMultiplayer, but Skulltag code ignored emulated multiplayer, hence the new and clearer name.
This commit is contained in:
Edoardo Prezioso 2016-06-20 01:42:20 +02:00 committed by Christoph Oelckers
parent 630dc8c8cd
commit 6384e81d0f
2 changed files with 5 additions and 1 deletions

View file

@ -8094,6 +8094,10 @@ scriptwait:
break;
// [BC] Start ST PCD's
case PCD_ISNETWORKGAME:
PushToStack(netgame);
break;
case PCD_PLAYERTEAM:
if ( activator && activator->player )
PushToStack( activator->player->userinfo.GetTeam() );

View file

@ -504,7 +504,7 @@ public:
PCD_PLAYERGOLDSKULL,
PCD_PLAYERBLACKCARD,
PCD_PLAYERSILVERCARD,
PCD_PLAYERONTEAM,
PCD_ISNETWORKGAME,
PCD_PLAYERTEAM,
/*120*/ PCD_PLAYERHEALTH,
PCD_PLAYERARMORPOINTS,