From dc8e503aca2db4b5ede874c9883e65969575d8aa Mon Sep 17 00:00:00 2001 From: Lucas GAUTHERON Date: Thu, 23 May 2013 17:51:17 +0000 Subject: [PATCH] show map names instead of map msgs in map list (thanks SKB) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7484 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/menus.cpp b/source/src/menus.cpp index dee8bc97..49671242 100644 --- a/source/src/menus.cpp +++ b/source/src/menus.cpp @@ -1281,7 +1281,7 @@ void gmenu::init() } defformatstring(fullname)("%s%s%s", dirlist->dir[0]?dirlist->dir+diroffset:"", dirlist->dir[0]?"/":"", f); defformatstring(caction)("map %s", fullname); - defformatstring(title)("%s", d && d[0]!='\0' ? d : f); + defformatstring(title)("%s", f); items.add(new mitemmapload(this, newstring(fullname), newstring(title), newstring(caction), NULL, NULL, NULL)); } else items.add(new mitemtext(this, f, newstring(dirlist->action), NULL, NULL, d));