X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fmaplist.qc;h=91d8eaa3de36d6bf14896d31cea4895f8aaf3e20;hp=384272ac82c3d1039a385b0a1e3d7d7e33f06c1a;hb=c6437cd43edc4489ad69746a30b5532f18c1af74;hpb=221325d0a55851348e3397354225f04cd472d42f diff --git a/qcsrc/menu/xonotic/maplist.qc b/qcsrc/menu/xonotic/maplist.qc index 384272ac8..91d8eaa3d 100644 --- a/qcsrc/menu/xonotic/maplist.qc +++ b/qcsrc/menu/xonotic/maplist.qc @@ -48,7 +48,6 @@ CLASS(XonoticMapList, XonoticListBox) ATTRIB(XonoticMapList, alphaBG, float, 0) ENDCLASS(XonoticMapList) entity makeXonoticMapList(); -entity makeXonoticMapListStringFilterBox(entity me, float doEditColorCodes, string theCvar); void MapList_StringFilterBox_Change(entity box, entity me); float MapList_StringFilterBox_keyDown(entity me, float key, float ascii, float shift); void MapList_Add_Shown(entity btn, entity me); @@ -64,10 +63,6 @@ void XonoticMapList_destroy(entity me) MapInfo_Shutdown(); } -entity makeXonoticMapListStringFilterBox(entity me, float doEditColorCodes, string theCvar) -{ - return makeXonoticInputBox(doEditColorCodes, theCvar); -} entity makeXonoticMapList() { entity me; @@ -280,7 +275,7 @@ void MapList_StringFilterBox_Change(entity box, entity me) me.stringFilter = strzone(box.text); else me.stringFilter = string_null; - + me.refilter(me); } @@ -345,7 +340,7 @@ void MapList_LoadMap(entity btn, entity me) m = MapInfo_BSPName_ByID(i); if (!m) { - print(_("Huh? Can't play this (m is NULL). Refiltering so this won't happen again.\n")); + LOG_INFO(_("Huh? Can't play this (m is NULL). Refiltering so this won't happen again.\n")); me.refilter(me); return; } @@ -358,7 +353,7 @@ void MapList_LoadMap(entity btn, entity me) } else { - print(_("Huh? Can't play this (invalid game type). Refiltering so this won't happen again.\n")); + LOG_INFO(_("Huh? Can't play this (invalid game type). Refiltering so this won't happen again.\n")); me.refilter(me); return; }