mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-11 21:33:16 +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:
commit
5a8e31c626
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user