X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fgamemode%2Fdomination%2Fsv_domination.qc;h=4c208465657777e9b3c800fd45c5f8586d623ff1;hb=0514f7948727cfa572b33bd29d1bdf2c13cd866d;hp=32e39e204de21bad8250b8c6eeff9bba2e9b025e;hpb=991de5e6922cd3c283de56c3249624f0f1bfe767;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc b/qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc index 32e39e204..4c2084656 100644 --- a/qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc +++ b/qcsrc/common/gamemodes/gamemode/domination/sv_domination.qc @@ -1,6 +1,14 @@ #include "sv_domination.qh" +#include +#include +#include +#include +#include #include +#include +#include +#include bool g_domination; @@ -548,7 +556,6 @@ spawnfunc(dom_team) precache_sound(this.noise); if (this.noise1 != "") precache_sound(this.noise1); - this.classname = "dom_team"; _setmodel(this, this.model); // precision not needed this.mdl = this.model; this.dmg = this.modelindex; @@ -613,7 +620,6 @@ void dom_spawnteam(string teamname, float teamcolor, string pointmodel, float po void dom_spawnpoint(vector org) { entity e = spawn(); - e.classname = "dom_controlpoint"; setthink(e, spawnfunc_dom_controlpoint); e.nextthink = time; setorigin(e, org);