mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-24 18:04:28 +00:00
restartGame, wrong mode, and resetModes now use constants instead of magic char names
This commit is contained in:
1 parent
b9a6402ba7
commit
033c626dfc
19 files changed
+135
-136
No files matched your search
@@ -179,7 +179,7 @@ hint hints[] = {
|
||||
},
|
||||
[]() {
|
||||
#if CAP_INV
|
||||
restartGame('i');
|
||||
restartGame(rg::inv);
|
||||
#endif
|
||||
}
|
||||
},
|
||||
@@ -273,7 +273,7 @@ hint hints[] = {
|
||||
resetModes();
|
||||
specialland = laHalloween;
|
||||
targetgeometry = gSphere;
|
||||
restartGame('g');
|
||||
restartGame(rg::geometry);
|
||||
vid.alpha = 999;
|
||||
vid.scale = 998;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user