X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fsv_spawner.qc;h=d12ee2bc6c184196a462a4d85ae218f80a9970b8;hb=0b9df86c9a55dd9ed9031b21e430fc3094fac709;hp=0b34d13e659633a1892e10db93771a761ad4b629;hpb=905ec2fbd2b610eeb2591cdddbf71ce24b7bb3ab;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/sv_spawner.qc b/qcsrc/common/monsters/sv_spawner.qc index 0b34d13e6..d12ee2bc6 100644 --- a/qcsrc/common/monsters/sv_spawner.qc +++ b/qcsrc/common/monsters/sv_spawner.qc @@ -1,3 +1,4 @@ +#include "sv_spawner.qh" #include "sv_spawn.qh" void spawner_use(entity this, entity actor, entity trigger) @@ -15,7 +16,8 @@ void spawner_use(entity this, entity actor, entity trigger) e.noalign = this.noalign; e.angles = this.angles; e.monster_skill = this.monster_skill; - e = spawnmonster(e, this.spawnmob, 0, this, this, this.origin, false, true, this.monster_moveflags); + e.skin = this.skin; + e = spawnmonster(e, this.spawnmob, MON_Null, this, this, this.origin, false, true, this.monster_moveflags); } spawnfunc(monster_spawner)