- Added support for old Skulltag ACS PlayerTeam.

This commit is contained in:
Edoardo Prezioso 2016-06-19 22:56:35 +02:00
parent de55d693f9
commit 2f6c98ead3

View file

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