1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-22 05:50:09 +00:00

Starting in a non-basic land with -W now enables cheat mode

This commit is contained in:
Jesse Ruderman 2021-07-14 17:47:32 -07:00
parent bfe81feb2c
commit 7bf23df2dd

View File

@ -916,6 +916,8 @@ int read_cheat_args() {
PHASEFROM(2);
shift();
firstland0 = firstland = specialland = readland(args());
if (!landUnlocked(firstland))
cheat();
stop_game_and_switch_mode(rg::nothing);
showstartmenu = false;
}