From 6384e81d0f135a2c292ac3e874f6fe26093f45b1 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Mon, 20 Jun 2016 01:42:20 +0200 Subject: [PATCH] - 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. --- src/p_acs.cpp | 4 ++++ src/p_acs.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 7829ca065..9fc887dae 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -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() ); diff --git a/src/p_acs.h b/src/p_acs.h index 9cd4eedd7..13dad4651 100644 --- a/src/p_acs.h +++ b/src/p_acs.h @@ -504,7 +504,7 @@ public: PCD_PLAYERGOLDSKULL, PCD_PLAYERBLACKCARD, PCD_PLAYERSILVERCARD, - PCD_PLAYERONTEAM, + PCD_ISNETWORKGAME, PCD_PLAYERTEAM, /*120*/ PCD_PLAYERHEALTH, PCD_PLAYERARMORPOINTS,