X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode_onslaught.qc;h=c99643169ba598907d83c97e22a4dc58e7f6f89b;hb=f56b94b56397ba6b4a470089bb748498f3a77e6a;hp=93ed9f7d8afdd9c4607e01cc2dbb730d35effb02;hpb=6be3fc1c5d51414554bb8f8f05dee5a0d12f7688;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode_onslaught.qc b/qcsrc/server/mutators/gamemode_onslaught.qc index 93ed9f7d8..c99643169 100644 --- a/qcsrc/server/mutators/gamemode_onslaught.qc +++ b/qcsrc/server/mutators/gamemode_onslaught.qc @@ -1,4 +1,6 @@ -#include "../../common/triggers/subs.qh" +#include "../_all.qh" + +#include "gamemode.qh" float autocvar_g_onslaught_spawn_at_controlpoints; float autocvar_g_onslaught_spawn_at_generator; @@ -27,7 +29,7 @@ void onslaught_link_checkupdate(); entity ons_red_generator; entity ons_blue_generator; -void ons_gib_damage (entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector vforce) +void ons_gib_damage (entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector vforce) { self.velocity = self.velocity + vforce; } @@ -572,7 +574,7 @@ void onslaught_generator_deaththink() self.count = self.count - 1; } -void onslaught_generator_damage(entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector force) +void onslaught_generator_damage(entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force) { float i; if (damage <= 0) @@ -968,7 +970,7 @@ void spawnfunc_onslaught_generator() float ons_notification_time_team1; float ons_notification_time_team2; -void onslaught_controlpoint_icon_damage(entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector force) +void onslaught_controlpoint_icon_damage(entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force) { entity oself; float nag;