moved -wsh from config.cpp to pattern2.cpp

This commit is contained in:
Zeno Rogue 2018-07-20 00:10:10 +02:00
parent 262d6f2a92
commit 81f175a18c
2 changed files with 2 additions and 2 deletions

View File

@ -1392,7 +1392,6 @@ int read_config_args() {
else if(argis("-wm")) { PHASEFROM(2); shift(); vid.wallmode = argi(); }
else if(argis("-mm")) { PHASEFROM(2); shift(); vid.monmode = argi(); }
else if(argis("-wsh")) { shift(); patterns::whichShape = args()[0]; }
else if(argis("-noshadow")) { noshadow = true; }
else if(argis("-bright")) { bright = true; }

View File

@ -2106,7 +2106,8 @@ int read_pattern_args() {
}
}
// non-categorized:
else if(argis("-wsh")) { shift(); patterns::whichShape = args()[0]; }
else if(argis("-pal")) {
PHASEFROM(2); cheat();
shift(); int id = argi();