summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 805d9d4312..785acb35af 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -2543,7 +2543,8 @@ void game_options::read_option_line(const std::string &str, bool runscript)
}
}
}
- else if (key == "menu_colour" || key == "menu_color")
+ // MSVC has a limit on how many if/else if can be chained together.
+ /* else */ if (key == "menu_colour" || key == "menu_color")
{
std::vector<std::string> seg = split_string(",", field);
for (int i = 0, count = seg.size(); i < count; ++i)