mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
CON: make the 'palette' player member actually return the player's palette ID
instead of -1. Setting is still only through 'setgamepalette'. git-svn-id: https://svn.eduke32.com/eduke32@2226 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8ec15480c0
commit
afbffe5c4a
1 changed files with 2 additions and 0 deletions
|
@ -1455,6 +1455,8 @@ static void __fastcall VM_GetPlayer(register int32_t lVar1, register int32_t lLa
|
|||
Gv_SetVarX(lVar2, (g_player[iPlayer].ps->gotweapon & (1<<lParm2)) != 0); return;
|
||||
case PLAYER_REFRESH_INVENTORY:
|
||||
Gv_SetVarX(lVar2, g_player[iPlayer].ps->refresh_inventory); return;
|
||||
case PLAYER_PALETTE: // no set
|
||||
Gv_SetVarX(lVar2, g_player[iPlayer].ps->palette); return;
|
||||
case PLAYER_TOGGLE_KEY_FLAG:
|
||||
Gv_SetVarX(lVar2, g_player[iPlayer].ps->toggle_key_flag); return;
|
||||
case PLAYER_KNUCKLE_INCS:
|
||||
|
|
Loading…
Reference in a new issue