]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/instagib/instagib.qc
Fix compile
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / instagib / instagib.qc
index 0be98ba06fb2657b2a255b02ce7bef8d6bf38c4d..8bd41449e0e2cc7b21bbca6467d06f41c9808f5e 100644 (file)
@@ -209,7 +209,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, PlayerPowerups)
 
        if (player.items & ITEM_Invisibility.m_itemid)
        {
-               play_countdown(player.strength_finished, SND_POWEROFF);
+               play_countdown(player, player.strength_finished, SND_POWEROFF);
                if (time > player.strength_finished)
                {
                        player.alpha = default_player_alpha;
@@ -232,7 +232,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, PlayerPowerups)
 
        if (player.items & ITEM_Speed.m_itemid)
        {
-               play_countdown(player.invincible_finished, SND_POWEROFF);
+               play_countdown(player, player.invincible_finished, SND_POWEROFF);
                if (time > player.invincible_finished)
                {
                        player.items &= ~ITEM_Speed.m_itemid;