From 0bd73a396032faab620ab5ae4130ab62574aad35 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 Mar 2025 15:52:02 +0100 Subject: [PATCH] fake_minecount --- graph.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graph.cpp b/graph.cpp index 36a26794..b8ab39dc 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3663,7 +3663,10 @@ EX const char* minetexts[8] = { "Seven mines next to you!" }; +EX map fake_minecount; + EX int countMinesAround(cell *c) { + if(fake_minecount.count(c)) return fake_minecount[c]; int mines = 0; for(cell *c2: adj_minefield_cells(c)) if(c2->wall == waMineMine)