1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-08 17:53:00 +00:00

fixed the errors caused by non_spatial_model giving incorrect results

This commit is contained in:
Zeno Rogue
2025-09-09 10:29:41 +02:00
parent c5ce82b2c7
commit 9b82538f04
3 changed files with 8 additions and 0 deletions

View File

@@ -1399,6 +1399,8 @@ EX void drawthemap() {
mmhigh = vid.highlightmode >= 1;
if(hiliteclick) mmhigh = !mmhigh;
current_display->set_all(0, 0); /* so that non_spatial_model works correctly */
spatial_graphics = wmspatial || mmspatial;
spatial_graphics = spatial_graphics && GDIM == 2;