summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-04 00:13:52 +0000
committerrubidium <rubidium@openttd.org>2009-03-04 00:13:52 +0000
commit908e850b5aafae69fe9da04555ae8aca6682f7e5 (patch)
tree92fb15de26bbc0324614d859746420224d100181 /src/network
parentf1a96c557726899caea40b94c8e3a8d168c98788 (diff)
downloadopenttd-908e850b5aafae69fe9da04555ae8aca6682f7e5.tar.xz
(svn r15605) -Codechange: constify a function
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 814ace117..4f7bd5832 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -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;