]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/spawn.qc
Purge self from most of the monster code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / spawn.qc
index e2e573d654d901ca3b680f93395a1cf394e5e4a6..70459263f1087da264e10fe71d95b218bbf59279 100644 (file)
@@ -63,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;
 }