X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fspawn.qc;h=70459263f1087da264e10fe71d95b218bbf59279;hb=068324d293df795dbc41de75f38256b8c6c35607;hp=cf23639e015b5276ee781229f98e0af1674c9d8a;hpb=c89dfaa4d0342b98c320621557973a65114fbdf4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/spawn.qc b/qcsrc/common/monsters/spawn.qc index cf23639e0..70459263f 100644 --- a/qcsrc/common/monsters/spawn.qc +++ b/qcsrc/common/monsters/spawn.qc @@ -1,13 +1,12 @@ #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) - #include "../../dpdefs/progsdefs.qh" #include "../util.qh" #include "all.qh" #include "sv_monsters.qh" #include "spawn.qh" - #include "../../server/autocvars.qh" - #include "../../server/defs.qh" + #include + #include #endif entity spawnmonster (string monster, float monster_id, entity spawnedby, entity own, vector orig, float respwn, float invincible, float moveflag) {SELFPARAM(); @@ -64,7 +63,7 @@ entity spawnmonster (string monster, float monster_id, entity spawnedby, entity } // Monster_Spawn checks if monster is valid - WITH(entity, self, e, Monster_Spawn(monster_id)); + Monster_Spawn(e, monster_id); return e; }