mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-05 13:46:17 +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);
|
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…
Reference in New Issue
Block a user