diff --git a/commandline.cpp b/commandline.cpp index ddcaf396..58952bfb 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -482,6 +482,9 @@ else if(args()[0] == '-' && args()[1] == x && args()[2] == '0') { showstartmenu PHASEFROM(2); reptilecheat = true; autocheat = true; firstland = laReptile; } + else if(argis("-bright")) { + bright = true; + } #if CAP_SDL else if(argis("-pngshot")) { PHASE(3); shift(); diff --git a/graph.cpp b/graph.cpp index bc72c025..ee2d6c41 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3320,8 +3320,11 @@ void qfloor_eswap(cell *c, const transmatrix& V, const hpcshape& sh, int col) { qfloor(c, V, sh, col); }; +bool bright; + // how much to darken int getfd(cell *c) { + if(bright) return 0; switch(c->land) { case laRedRock: case laReptile: