1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +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
commit 5a8e31c626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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