]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_lights.qc
Merge branch 'samual/menu_updates' of git://de.git.xonotic.org/xonotic/xonotic-data...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_lights.qc
index d5cc657bffc7f50bf860182748ccd1e608326ed3..b5f4bcf8441b0f382dd10813e60c1517c80107be 100644 (file)
@@ -34,10 +34,10 @@ void dynlight_think()
                remove(self);
 
        self.nextthink = time + 0.1;
-};
+}
 void dynlight_find_aiment()
 {
-       local entity targ;
+       entity targ;
        if (!self.target)
                objerror ("dynlight: no target to follow");
 
@@ -50,10 +50,10 @@ void dynlight_find_aiment()
        self.v_angle = self.angles - targ.angles;
        self.think = dynlight_think;
        self.nextthink = time + 0.1;
-};
+}
 void dynlight_find_path()
 {
-       local entity targ;
+       entity targ;
        if (!self.target)
                objerror ("dynlight: no target to follow");
 
@@ -62,10 +62,10 @@ void dynlight_find_path()
        setorigin (self, targ.origin);
        self.think = train_next;
        self.nextthink = time + 0.1;
-};
+}
 void dynlight_find_target()
 {
-       local entity targ;
+       entity targ;
        if (!self.target)
                objerror ("dynlight: no target to follow");
 
@@ -81,7 +81,7 @@ void dynlight_use()
                self.light_lev = self.lefty;
        else
                self.light_lev = 0;
-};
+}
 void spawnfunc_dynlight()
 {
        local   entity  targ;
@@ -125,4 +125,4 @@ void spawnfunc_dynlight()
                InitializeEntity(self, dynlight_find_path, INITPRIO_FINDTARGET);
                return;
        }
-};
+}