Flash gamepad LED when invul or grow
This commit is contained in:
1 parent
15fd488e0d
commit
f2e0b4dbc0
1 file changed
+3
@@ -889,6 +889,9 @@ INT32 G_GetDeviceForPlayer(INT32 player)
|
||||
|
||||
inline UINT16 G_GetSkinColor(INT32 player)
|
||||
{
|
||||
if (gamestate == GS_LEVEL && (players[displayplayers[player]].kartstuff[k_invincibilitytimer] || players[displayplayers[player]].kartstuff[k_growshrinktimer]))
|
||||
return players[displayplayers[player]].mo->color;
|
||||
|
||||
if (players[displayplayers[player]].skincolor && gamestate == GS_LEVEL)
|
||||
return players[displayplayers[player]].skincolor;
|
||||
|
||||
|
||||
Reference in new issue
Block a user