X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fsv_spawner.qc;h=a430951da56ff891b08842bb1894d57fc1cf6850;hb=80e96d3476de18ec2d27c905eb789bd39b2f52f9;hp=13c98e93fa1f64e75271e79cba146614c1b6dd94;hpb=761fb981d742f869d7057a3bb7e3369329fdbe18;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/sv_spawner.qc b/qcsrc/common/monsters/sv_spawner.qc index 13c98e93fa..a430951da5 100644 --- a/qcsrc/common/monsters/sv_spawner.qc +++ b/qcsrc/common/monsters/sv_spawner.qc @@ -1,5 +1,7 @@ #include "sv_spawner.qh" -#include "sv_spawn.qh" + +#include +#include void spawner_use(entity this, entity actor, entity trigger) { @@ -17,7 +19,7 @@ void spawner_use(entity this, entity actor, entity trigger) e.angles = this.angles; e.monster_skill = this.monster_skill; e.skin = this.skin; - e = spawnmonster(e, this.spawnmob, 0, this, this, this.origin, false, true, this.monster_moveflags); + e = spawnmonster(e, this.spawnmob, MON_Null, this, this, this.origin, false, true, this.monster_moveflags); } spawnfunc(monster_spawner)