K_PlayerEffectsShouldBlend: also apply when player has invulnerability
This commit is contained in:
1 parent
4cf27d40e9
commit
20a08df1e1
1 file changed
+2
-1
+2
-1
@@ -5373,7 +5373,8 @@ boolean K_PlayerEffectsShouldBlend(player_t *player)
|
||||
if (!cv_playerblendeffects.value || !player->mo)
|
||||
return false;
|
||||
|
||||
if (player->kartstuff[k_sneakertimer])
|
||||
if (player->kartstuff[k_sneakertimer] ||
|
||||
player->kartstuff[k_invincibilitytimer])
|
||||
return true;
|
||||
|
||||
// this is how the percentage speedometer calcs, i suck at maths so this was the easiest thing to do lmao
|
||||
|
||||
Reference in new issue
Block a user