]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mapinfo.qc
Scoreboard ELO: show "..." when loading, "N/A" when missing
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapinfo.qc
index 447e7730e205c9d2ecbff65f102886c41bca8118..2ec902f68556d121bdceb8122adbef84f4edc999 100644 (file)
@@ -178,7 +178,7 @@ float MapInfo_FilterGametype(int pGametype, int pFeatures, int pFlagsRequired, i
        MapInfo_ClearTemps();
 
        // sometimes the glob isn't sorted nicely, so fix it here...
-       heapsort(MapInfo_count, _MapInfo_FilterList_swap, _MapInfo_FilterList_cmp, world);
+       heapsort(MapInfo_count, _MapInfo_FilterList_swap, _MapInfo_FilterList_cmp, NULL);
 
        return 1;
 }
@@ -206,7 +206,7 @@ void MapInfo_FilterString(string sf)
        MapInfo_ClearTemps();
 
        // sometimes the glob isn't sorted nicely, so fix it here...
-       heapsort(MapInfo_count, _MapInfo_FilterList_swap, _MapInfo_FilterList_cmp, world);
+       heapsort(MapInfo_count, _MapInfo_FilterList_swap, _MapInfo_FilterList_cmp, NULL);
 }
 
 void MapInfo_Filter_Free()