X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fclientkill.qc;h=73ccb383d40fe3f2c355b325c3eb3846f15e8541;hp=08758a06536f706bd722e6ed57549e0ae1b6d154;hb=c05104bde1e758c4022f9755f02f177aa0476134;hpb=4584f9650fa51da6a162f3cf23e8df4574d9ff17 diff --git a/qcsrc/server/clientkill.qc b/qcsrc/server/clientkill.qc index 08758a065..73ccb383d 100644 --- a/qcsrc/server/clientkill.qc +++ b/qcsrc/server/clientkill.qc @@ -1,11 +1,15 @@ #include "clientkill.qh" -#include +#include +#include +#include +#include -#include "g_damage.qh" +#include "damage.qh" #include "teamplay.qh" #include +#include #include #include @@ -137,7 +141,7 @@ void ClientKill_TeamChange(entity this, float targetteam) // 0 = don't change, - this.killindicator.count = bound(0, ceil(killtime), 10); //sprint(this, strcat("^1You'll be dead in ", ftos(this.killindicator.cnt), " seconds\n")); - IL_EACH(g_clones, it.enemy == this && !(it.effects & CSQCMODEL_EF_RESPAWNGHOST), + IL_EACH(g_clones, it.enemy == this && !(it.effects & CSQCMODEL_EF_RESPAWNGHOST) && !it.killindicator, { it.killindicator = spawn(); it.killindicator.owner = it;