mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 08:22:50 +02:00
- bugfix for user in verbose mode with missing map
This commit is contained in:
@@ -1759,6 +1759,9 @@ void MenuStateConnectedGame::PlayNow(bool saveGame) {
|
|||||||
|
|
||||||
string MenuStateConnectedGame::getCurrentMapFile() {
|
string MenuStateConnectedGame::getCurrentMapFile() {
|
||||||
int mapIndex=listBoxMap.getSelectedItemIndex();
|
int mapIndex=listBoxMap.getSelectedItemIndex();
|
||||||
|
if(mapIndex < 0) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
return mapFiles[mapIndex];
|
return mapFiles[mapIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user