mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r15605) -Codechange: constify a function
This commit is contained in:
@@ -1012,7 +1012,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
|
||||
if (this->map == NULL) { // start random new game
|
||||
ShowGenerateLandscape();
|
||||
} else { // load a scenario
|
||||
char *name = FiosBrowseTo(this->map);
|
||||
const char *name = FiosBrowseTo(this->map);
|
||||
if (name != NULL) {
|
||||
SetFiosType(this->map->type);
|
||||
_file_to_saveload.filetype = FT_SCENARIO;
|
||||
|
Reference in New Issue
Block a user