]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/role_freezetag.qc
Merge branch 'master' into terencehill/cmd_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / role_freezetag.qc
index c81d7d0f350f48671a168e57248a3cf858be79db..4e5669eb2ecad7642fbd75b4c9f89f458efaf757 100644 (file)
@@ -3,7 +3,7 @@ void() havocbot_role_ft_offense;
 
 void havocbot_goalrating_freeplayers(float ratingscale, vector org, float sradius)
 {
-       local entity head;
+       entity head;
        float distance;
 
        FOR_EACH_PLAYER(head)
@@ -25,11 +25,11 @@ void havocbot_goalrating_freeplayers(float ratingscale, vector org, float sradiu
                        }
                }
        }
-};
+}
 
 void havocbot_role_ft_offense()
 {
-       local entity head;
+       entity head;
        float unfrozen;
 
        if(self.deadflag != DEAD_NO)
@@ -66,7 +66,7 @@ void havocbot_role_ft_offense()
                //havocbot_goalrating_waypoints(1, self.origin, 1000);
                navigation_goalrating_end();
        }
-};
+}
 
 void havocbot_role_ft_freeing()
 {
@@ -95,7 +95,7 @@ void havocbot_role_ft_freeing()
                //havocbot_goalrating_waypoints(1, self.origin, 1000);
                navigation_goalrating_end();
        }
-};
+}
 
 void havocbot_chooserole_ft()
 {
@@ -106,4 +106,4 @@ void havocbot_chooserole_ft()
                self.havocbot_role = havocbot_role_ft_freeing;
        else
                self.havocbot_role = havocbot_role_ft_offense;
-};
+}