From: Mario Date: Fri, 10 Jun 2016 09:13:31 +0000 (+1000) Subject: Fix up some #ifdef'd code X-Git-Tag: xonotic-v0.8.2~860 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=07ba33fa78ea4a305083689460c59a82d84fae3a;p=xonotic%2Fxonotic-data.pk3dir.git Fix up some #ifdef'd code --- diff --git a/qcsrc/server/steerlib.qc b/qcsrc/server/steerlib.qc index b68432cb1..2cccbf41c 100644 --- a/qcsrc/server/steerlib.qc +++ b/qcsrc/server/steerlib.qc @@ -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;