fixed errors about underlying_map uninitialized

This commit is contained in:
Zeno Rogue committed 2024-05-16 21:21:14 +02:00
1 parent 1a70e54e24
commit 4ec627b1a1
3 files changed
+3

No files matched your search

+1
View File
@@ -1360,6 +1360,7 @@ EX namespace hybrid {
cell* gamestart() override { return getCell(underlying_map->gamestart(), 0); }
hrmap_hybrid() {
underlying_map = nullptr;
twisted = false;
disc_quotient = 0;
in_underlying([this] { initcells(); underlying_map = currentmap; });