fixed errors about underlying_map uninitialized

This commit is contained in:
Zeno Rogue
2024-05-16 21:21:14 +02:00
parent 1a70e54e24
commit 4ec627b1a1
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -75,6 +75,7 @@ EX namespace fake {
}
hrmap_fake() {
underlying_map = nullptr;
in_underlying([this] { initcells(); underlying_map = currentmap; });
for(hrmap*& m: allmaps) if(m == underlying_map) m = NULL;
}