X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fspawn.qc;h=23fc845ac75d3f35c9b0ad7e77ca1a9fa98e6057;hb=3220cab5a7b69ced4a641504a6a5f4eccf2d3bfc;hp=5e1af3df7d305198f93ee75bf27875a78816454b;hpb=3f397e7bd1b2f66ebd246c8fa7a23256eedcbda7;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/spawn.qc b/qcsrc/common/monsters/spawn.qc index 5e1af3df7..23fc845ac 100644 --- a/qcsrc/common/monsters/spawn.qc +++ b/qcsrc/common/monsters/spawn.qc @@ -24,7 +24,7 @@ entity spawnmonster (string monster, float monster_id, entity spawnedby, entity { 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; }