From f99e95b91420494725de6af5cf8f21786e47e7d0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Mar 2023 23:09:11 +0200 Subject: [PATCH] fixed crashes in Zebra in Hat and some other geometries --- monstergen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monstergen.cpp b/monstergen.cpp index a5e77185..39f0c96d 100644 --- a/monstergen.cpp +++ b/monstergen.cpp @@ -218,7 +218,7 @@ void wanderingZebra(cell *start) { return; } int q = 0; - cell *ctab[8]; + cell *ctab[FULL_EDGE]; for(int i=0; itype; i++) { cell *c3 = c->move(i); if(c3 && c3 != c2 && c3->land == laZebra && c3->wall == waNone)