]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix up some #ifdef'd code
authorMario <mario@smbclan.net>
Fri, 10 Jun 2016 09:13:31 +0000 (19:13 +1000)
committerMario <mario@smbclan.net>
Fri, 10 Jun 2016 09:13:31 +0000 (19:13 +1000)
qcsrc/server/steerlib.qc

index b68432cb19f2482d4e327bdc59cbf4e74820c927..2cccbf41c06ab428e75150b64408e15687c708da 100644 (file)
@@ -504,8 +504,8 @@ void flocker_die(entity this)
 }
 
 
-void flocker_think()
-{SELFPARAM();
+void flocker_think(entity this)
+{
     vector dodgemove,swarmmove;
     vector reprellmove,wandermove,newmove;
 
@@ -567,8 +567,8 @@ void spawn_flocker(entity this)
 
 }
 
-void flockerspawn_think()
-{SELFPARAM();
+void flockerspawn_think(entity this)
+{
     if(this.cnt > 0)
         spawn_flocker(this);
 
@@ -576,8 +576,8 @@ void flockerspawn_think()
 
 }
 
-void flocker_hunter_think()
-{SELFPARAM();
+void flocker_hunter_think(entity this)
+{
     vector dodgemove,attractmove,newmove;
     entity e,ee;
     float d,bd;