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
This commit is contained in:
Lucas GAUTHERON
2013-05-23 17:51:17 +00:00
parent 93024e403d
commit dc8e503aca
+1 -1
View File
@@ -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));