mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- Added support for old Skulltag ACS PlayerTeam.
This commit is contained in:
parent
de55d693f9
commit
2f6c98ead3
1 changed files with 7 additions and 0 deletions
|
@ -8094,6 +8094,13 @@ scriptwait:
|
|||
break;
|
||||
|
||||
// [BC] Start ST PCD's
|
||||
case PCD_PLAYERTEAM:
|
||||
if ( activator && activator->player )
|
||||
PushToStack( activator->player->userinfo.GetTeam() );
|
||||
else
|
||||
PushToStack( 0 );
|
||||
break;
|
||||
|
||||
case PCD_PLAYERHEALTH:
|
||||
if (activator)
|
||||
PushToStack (activator->health);
|
||||
|
|
Loading…
Reference in a new issue