restartGame, wrong mode, and resetModes now use constants instead of magic char names

This commit is contained in:
Zeno Rogue committed 2018-04-09 18:05:23 +02:00
1 parent b9a6402ba7
commit 033c626dfc
19 files changed
+135 -136

No files matched your search

+2 -2
View File
@@ -861,12 +861,12 @@ bool texture_config::load() {
dynamicval<int> d2(patterns::subpattern_flags, patterns::subpattern_flags);
if(targetgeometry != geometry) {
restartGame('g');
restartGame(rg::geometry);
return config.load();
}
if(nonbitrunc != target_nonbitru) {
restartGame('7');
restartGame(rg::bitrunc);
}
}