X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fassault.qc;h=45fa5c77d43aabc688d325e9f8f6edd191cc2c7f;hb=23cf4ce685dd5317d84b2db53aecd97e93c8a2de;hp=77d7d36fc8773858f02120a697a3f2fa484c0f75;hpb=7c45ce8743d3e5b6cbcddce737d5c944dd93ad95;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/assault.qc b/qcsrc/server/assault.qc index 77d7d36fc..45fa5c77d 100644 --- a/qcsrc/server/assault.qc +++ b/qcsrc/server/assault.qc @@ -115,7 +115,7 @@ void assault_objective_decrease_use() { void assault_setenemytoobjective() { - local entity objective; + entity objective; for(objective = world; (objective = find(objective, targetname, self.target)); ) { if(objective.classname == "target_objective") { if(self.enemy == world) @@ -208,8 +208,6 @@ void spawnfunc_func_assault_destructible() { } self.spawnflags = 3; self.classname = "func_assault_destructible"; - self.takedamage = TRUE; - self.bot_attack = TRUE; if(assault_attacker_team == COLOR_TEAM1) { self.team = COLOR_TEAM2; } else { @@ -352,7 +350,7 @@ void assault_new_round() } - local entity ent; + entity ent; for(ent = world; (ent = nextent(ent)); ) { if(clienttype(ent) == CLIENTTYPE_NOTACLIENT)