- bugfix for user in verbose mode with missing map

This commit is contained in:
Mark Vejvoda 2012-11-19 05:27:16 +00:00
parent 838d42599d
commit e54aabd713

View File

@ -1759,6 +1759,9 @@ void MenuStateConnectedGame::PlayNow(bool saveGame) {
string MenuStateConnectedGame::getCurrentMapFile() {
int mapIndex=listBoxMap.getSelectedItemIndex();
if(mapIndex < 0) {
return "";
}
return mapFiles[mapIndex];
}