From 07ba33fa78ea4a305083689460c59a82d84fae3a Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 10 Jun 2016 19:13:31 +1000 Subject: [PATCH] Fix up some #ifdef'd code --- qcsrc/server/steerlib.qc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.39.2