mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 14:00:13 +00:00
Starting in a non-basic land with -W now enables cheat mode
This commit is contained in:
parent
bfe81feb2c
commit
7bf23df2dd
@ -916,6 +916,8 @@ int read_cheat_args() {
|
|||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
shift();
|
shift();
|
||||||
firstland0 = firstland = specialland = readland(args());
|
firstland0 = firstland = specialland = readland(args());
|
||||||
|
if (!landUnlocked(firstland))
|
||||||
|
cheat();
|
||||||
stop_game_and_switch_mode(rg::nothing);
|
stop_game_and_switch_mode(rg::nothing);
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user