mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-11 20:01:43 +00:00
more drawing tool improvements; no crash drawing tool; restart editors will ask for confirmation
This commit is contained in:
@@ -3363,7 +3363,7 @@ bool openorsafe(cell *c) {
|
||||
EX color_t stdgridcolor = 0x202020FF;
|
||||
|
||||
EX int gridcolor(cell *c1, cell *c2) {
|
||||
if(cmode & sm::DRAW) return Dark(forecolor);
|
||||
if(cmode & sm::DRAW && !mapeditor::drawing_tool) return Dark(forecolor);
|
||||
if(!c2)
|
||||
return 0x202020 >> darken;
|
||||
int rd1 = rosedist(c1), rd2 = rosedist(c2);
|
||||
|
||||
Reference in New Issue
Block a user