1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 18:29:59 +00:00

fixed crashes in Zebra in Hat and some other geometries

This commit is contained in:
Zeno Rogue 2023-03-28 23:09:11 +02:00
parent a9b6452d25
commit f99e95b914

View File

@ -218,7 +218,7 @@ void wanderingZebra(cell *start) {
return;
}
int q = 0;
cell *ctab[8];
cell *ctab[FULL_EDGE];
for(int i=0; i<c->type; i++) {
cell *c3 = c->move(i);
if(c3 && c3 != c2 && c3->land == laZebra && c3->wall == waNone)