mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-05 08:44:07 +00:00
commandline fixes
This commit is contained in:
parent
be06bd31ce
commit
0749a9c9a6
@ -121,12 +121,19 @@ int arg::readCommon() {
|
|||||||
shift(); cheatdest = readland(args()); autocheat = true;
|
shift(); cheatdest = readland(args()); autocheat = true;
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
}
|
}
|
||||||
else if(argis("-W")) {
|
else if(argis("-W") && curphase <= 2) {
|
||||||
PHASE(2);
|
PHASE(2);
|
||||||
shift();
|
shift();
|
||||||
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
||||||
showstartmenu = false;
|
showstartmenu = false;
|
||||||
}
|
}
|
||||||
|
else if(argis("-W") && curphase == 3) {
|
||||||
|
PHASE(3);
|
||||||
|
shift();
|
||||||
|
firstland0 = firstland = specialland = readland(args()); autocheat = true;
|
||||||
|
activateSafety(specialland);
|
||||||
|
showstartmenu = false;
|
||||||
|
}
|
||||||
else if(argis("-I")) {
|
else if(argis("-I")) {
|
||||||
PHASE(3) cheater++; timerghost = false;
|
PHASE(3) cheater++; timerghost = false;
|
||||||
shift(); eItem i = readItem(args());
|
shift(); eItem i = readItem(args());
|
||||||
@ -139,7 +146,7 @@ int arg::readCommon() {
|
|||||||
placeItems(q, i);
|
placeItems(q, i);
|
||||||
}
|
}
|
||||||
else if(argis("-SM")) {
|
else if(argis("-SM")) {
|
||||||
PHASE(2);
|
PHASEFROM(2);
|
||||||
shift(); stereo::mode = stereo::eStereo(argi());
|
shift(); stereo::mode = stereo::eStereo(argi());
|
||||||
}
|
}
|
||||||
#if CAP_INV
|
#if CAP_INV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user