1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 03:47:58 +00:00

fixed errors about underlying_map uninitialized

This commit is contained in:
Zeno Rogue
2024-05-16 21:15:48 +02:00
parent 1a70e54e24
commit 4ec627b1a1
3 changed files with 3 additions and 0 deletions

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; });