1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 08:52:19 +00:00

fixed a possible crash in notknot initialization

This commit is contained in:
Zeno Rogue
2025-07-12 14:55:02 +02:00
parent 8f283f6248
commit 9d9da019df

View File

@@ -1136,6 +1136,7 @@ auto h = addHook(hooks_newmap, 0, [] {
void create_notknot() { void create_notknot() {
if(true) { if(true) {
vid.texture_step = 1;
dynamicval<eGeometry> b(geometry, base); dynamicval<eGeometry> b(geometry, base);
dynamicval<eVariation> bv(variation, eVariation::pure); dynamicval<eVariation> bv(variation, eVariation::pure);
check_cgi(); check_cgi();