mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
the -W cheat is now better at keeping the land after F5
This commit is contained in:
parent
c09d9532ef
commit
aba5ef5358
@ -136,7 +136,8 @@ int arg::readCommon() {
|
||||
showstartmenu = false;
|
||||
}
|
||||
else if(argis("-W")) {
|
||||
shift(); firstland = specialland = readland(args());
|
||||
shift();
|
||||
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
||||
showstartmenu = false;
|
||||
}
|
||||
else if(argis("-I")) {
|
||||
|
6
init.cpp
6
init.cpp
@ -395,6 +395,8 @@ bool inv::on;
|
||||
bool fixseed = false;
|
||||
int startseed = 0;
|
||||
|
||||
eLand firstland0;
|
||||
|
||||
void initAll() {
|
||||
showstartmenu = true;
|
||||
ca::init();
|
||||
@ -404,7 +406,7 @@ void initAll() {
|
||||
|
||||
achievement_init(); // not in ANDROID
|
||||
|
||||
eLand f = firstland;
|
||||
firstland0 = firstland;
|
||||
|
||||
// initlanguage();
|
||||
initgraph();
|
||||
@ -425,7 +427,7 @@ void initAll() {
|
||||
restoreGolems(kills[moPrincessArmedMoved], moPrincessArmed, princess::saveArmedHP); kills[moPrincessArmedMoved] = 0;
|
||||
}
|
||||
|
||||
firstland = f;
|
||||
firstland = firstland0;
|
||||
}
|
||||
|
||||
void finishAll() {
|
||||
|
Loading…
Reference in New Issue
Block a user