]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Mon, 25 Jun 2018 06:35:34 +0000 (16:35 +1000)
committerMario <mario@smbclan.net>
Mon, 25 Jun 2018 06:35:34 +0000 (16:35 +1000)
qcsrc/server/g_damage.qc

index 4881fac2d1a5c94271c86471e019863dc01beef8..38284c30decd8a5b3adae3fbebe9039ef7e560ef 100644 (file)
@@ -524,7 +524,7 @@ void Freeze(entity targ, float revivespeed, int frozen_type, bool show_waypoint)
        });
 
        // add waypoint
-       if(Freeze(targ, revivespeed, frozen_type) || show_waypoint)
+       if(MUTATOR_CALLHOOK(Freeze, targ, revivespeed, frozen_type) || show_waypoint)
                WaypointSprite_Spawn(WP_Frozen, 0, 0, targ, '0 0 64', NULL, targ.team, targ, waypointsprite_attached, true, RADARICON_WAYPOINT);
 }