summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-12-26 19:36:53 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-12-26 19:50:07 +0100
commit0e7839377409bd70c09c75739f35301991c29c29 (patch)
treeae3bcb0ccd04242b06717941a3cb3f7a1eeedc14 /src
parent7f250327665af8452a74073c28d6f8e287feeff1 (diff)
downloadopenttd-0e7839377409bd70c09c75739f35301991c29c29.tar.xz
Fix: Reference correct section in README file for baseset info
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap_gui.cpp2
-rw-r--r--src/openttd.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap_gui.cpp b/src/bootstrap_gui.cpp
index 45cd01024..d2445c23a 100644
--- a/src/bootstrap_gui.cpp
+++ b/src/bootstrap_gui.cpp
@@ -262,6 +262,6 @@ bool HandleBootstrap()
/* Failure to get enough working to get a graphics set. */
failure:
- usererror("Failed to find a graphics set. Please acquire a graphics set for OpenTTD. See section 4.1 of README.md.");
+ usererror("Failed to find a graphics set. Please acquire a graphics set for OpenTTD. See section 1.4 of README.md.");
return false;
}
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 48d889aef..ffd30cf7b 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -804,7 +804,7 @@ int openttd_main(int argc, char *argv[])
if (sounds_set == nullptr && BaseSounds::ini_set != nullptr) sounds_set = stredup(BaseSounds::ini_set);
if (!BaseSounds::SetSet(sounds_set)) {
if (StrEmpty(sounds_set) || !BaseSounds::SetSet(nullptr)) {
- usererror("Failed to find a sounds set. Please acquire a sounds set for OpenTTD. See section 4.1 of README.md.");
+ usererror("Failed to find a sounds set. Please acquire a sounds set for OpenTTD. See section 1.4 of README.md.");
} else {
ErrorMessageData msg(STR_CONFIG_ERROR, STR_CONFIG_ERROR_INVALID_BASE_SOUNDS_NOT_FOUND);
msg.SetDParamStr(0, sounds_set);
@@ -817,7 +817,7 @@ int openttd_main(int argc, char *argv[])
if (music_set == nullptr && BaseMusic::ini_set != nullptr) music_set = stredup(BaseMusic::ini_set);
if (!BaseMusic::SetSet(music_set)) {
if (StrEmpty(music_set) || !BaseMusic::SetSet(nullptr)) {
- usererror("Failed to find a music set. Please acquire a music set for OpenTTD. See section 4.1 of README.md.");
+ usererror("Failed to find a music set. Please acquire a music set for OpenTTD. See section 1.4 of README.md.");
} else {
ErrorMessageData msg(STR_CONFIG_ERROR, STR_CONFIG_ERROR_INVALID_BASE_MUSIC_NOT_FOUND);
msg.SetDParamStr(0, music_set);