Skip to content

Commit

Permalink
fix: placing flags on layers not marking the layer screen as "valid"
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 authored and connorjclark committed Jan 7, 2024
1 parent 77346b0 commit 8c74b72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/zq/zquest.cpp
Expand Up @@ -8727,6 +8727,12 @@ void doflags()
int scr = CurrentLayer ? Map.CurrScr()->layerscreen[CurrentLayer-1] : Map.getCurrScr();
Map.DoSetFlagCommand(map, scr, c, Flag);
}
if(!(cur_scr->valid&mVALID))
{
Map.CurrScr()->valid|=mVALID;
cur_scr->valid|=mVALID;
Map.setcolor(Color);
}
Flag = tflag;
}
}
Expand Down

0 comments on commit 8c74b72

Please sign in to comment.