mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-07 10:52:23 +00:00
restartGame, wrong mode, and resetModes now use constants instead of magic char names
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user