mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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;
|
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);
|
||||||
|
|
Loading…
Reference in a new issue