1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

options -canvas and -W work in phase 2

This commit is contained in:
Zeno Rogue 2018-02-01 13:43:11 +01:00
parent 8e8ece7162
commit a7ee43474e

View File

@ -72,6 +72,7 @@ int arg::readCommon() {
else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); }
#endif
else if(argis("-canvas")) {
PHASE(2);
firstland = specialland = laCanvas;
shift();
if(args()[1] == 0) patterns::whichCanvas = args()[0];
@ -115,6 +116,7 @@ int arg::readCommon() {
showstartmenu = false;
}
else if(argis("-W")) {
PHASE(2);
shift();
firstland0 = firstland = specialland = readland(args()); autocheat = true;
showstartmenu = false;