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

Merge pull request #237 from jruderman/wcheat

Starting in a non-basic land with -W now enables cheat mode
This commit is contained in:
Zeno Rogue
2021-07-18 12:25:51 +02:00
committed by GitHub

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;
}