commandline fixes

This commit is contained in:
Zeno Rogue 2018-02-12 12:49:00 +01:00
parent be06bd31ce
commit 0749a9c9a6
1 changed files with 9 additions and 2 deletions

View File

@ -121,12 +121,19 @@ int arg::readCommon() {
shift(); cheatdest = readland(args()); autocheat = true;
showstartmenu = false;
}
else if(argis("-W")) {
else if(argis("-W") && curphase <= 2) {
PHASE(2);
shift();
firstland0 = firstland = specialland = readland(args()); autocheat = true;
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")) {
PHASE(3) cheater++; timerghost = false;
shift(); eItem i = readItem(args());
@ -139,7 +146,7 @@ int arg::readCommon() {
placeItems(q, i);
}
else if(argis("-SM")) {
PHASE(2);
PHASEFROM(2);
shift(); stereo::mode = stereo::eStereo(argi());
}
#if CAP_INV