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

external additions can wrap drawthemap

This commit is contained in:
Zeno Rogue
2018-01-25 17:22:04 +01:00
parent 27b0823d74
commit 3a52193426
2 changed files with 4 additions and 1 deletions

View File

@@ -5342,6 +5342,8 @@ void calcparam() {
int ringcolor = darkena(0xFF, 0, 0xFF);
function<void()> wrap_drawfullmap = drawfullmap;
void drawfullmap() {
DEBB(DF_GRAPH, (debugfile,"draw full map\n"));
@@ -5438,7 +5440,7 @@ void gamescreen(int _darken) {
rug::actDraw();
} else
#endif
drawfullmap();
wrap_drawfullmap();
if(conformal::includeHistory) conformal::restoreBack();