also do this when player gets invul "power"
This commit is contained in:
1 parent
6eca8150f1
commit
23f839dc19
1 file changed
+1
-1
+1
-1
@@ -889,7 +889,7 @@ 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]))
|
||||
if (gamestate == GS_LEVEL && (players[displayplayers[player]].kartstuff[k_invincibilitytimer] || players[displayplayers[player]].powers[pw_invulnerability] || players[displayplayers[player]].kartstuff[k_growshrinktimer]))
|
||||
return players[displayplayers[player]].mo->color;
|
||||
|
||||
if (players[displayplayers[player]].skincolor && gamestate == GS_LEVEL)
|
||||
|
||||
Reference in new issue
Block a user