(svn r15605) -Codechange: constify a function

This commit is contained in:
rubidium
2009-03-04 00:13:52 +00:00
parent f1a96c5577
commit 908e850b5a
4 changed files with 4 additions and 4 deletions

View File

@@ -1596,7 +1596,7 @@ public:
const FiosItem *file = _fios_items.Get(y);
char *name = FiosBrowseTo(file);
const char *name = FiosBrowseTo(file);
if (name != NULL) {
if (_saveload_mode == SLD_LOAD_GAME || _saveload_mode == SLD_LOAD_SCENARIO) {
_switch_mode = (_game_mode == GM_EDITOR) ? SM_LOAD_SCENARIO : SM_LOAD;