#include <server/defs.qh>
#endif
entity spawnmonster (string monster, float monster_id, entity spawnedby, entity own, vector orig, float respwn, float invincible, float moveflag)
-{SELFPARAM();
+{
float i;
entity e = spawn();
{
RandomSelection_Init();
for(i = MON_FIRST; i <= MON_LAST; ++i)
- RandomSelection_Add(world, i, string_null, 1, 1);
+ RandomSelection_Add(NULL, i, string_null, 1, 1);
monster_id = RandomSelection_chosen_float;
}