From b6503f0059a5086027e684d4b3779649f163fe23 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Mar 2023 14:45:29 +0100 Subject: [PATCH] CLI: noplayer now removes the player as the name suggests, and -drawplayer 1 draws the player --- pattern2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pattern2.cpp b/pattern2.cpp index 2ee27ddd..a4c36155 100644 --- a/pattern2.cpp +++ b/pattern2.cpp @@ -3181,7 +3181,8 @@ int read_pattern_args() { 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")) { shift(); colortable *ct = &(colortables[patterns::whichCanvas]);