1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

CLI: noplayer now removes the player as the name suggests, and -drawplayer 1 draws the player

This commit is contained in:
Zeno Rogue 2023-03-16 14:45:29 +01:00
parent b8f916df3a
commit b6503f0059

View File

@ -3181,7 +3181,8 @@ int read_pattern_args() {
else if(argis("-palgw")) shift_arg_formula(linepatterns::width); else if(argis("-palgw")) shift_arg_formula(linepatterns::width);
else if(argis("-noplayer")) mapeditor::drawplayer = !mapeditor::drawplayer; else if(argis("-noplayer")) mapeditor::drawplayer = false;
else if(argis("-drawplayer")) { shift(); mapeditor::drawplayer = argi(); }
else if(argis("-pcol")) { else if(argis("-pcol")) {
shift(); shift();
colortable *ct = &(colortables[patterns::whichCanvas]); colortable *ct = &(colortables[patterns::whichCanvas]);