fixed crashes in Zebra in Hat and some other geometries
This commit is contained in:
parent
a9b6452d25
commit
f99e95b914
|
@ -218,7 +218,7 @@ void wanderingZebra(cell *start) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int q = 0;
|
int q = 0;
|
||||||
cell *ctab[8];
|
cell *ctab[FULL_EDGE];
|
||||||
for(int i=0; i<c->type; i++) {
|
for(int i=0; i<c->type; i++) {
|
||||||
cell *c3 = c->move(i);
|
cell *c3 = c->move(i);
|
||||||
if(c3 && c3 != c2 && c3->land == laZebra && c3->wall == waNone)
|
if(c3 && c3 != c2 && c3->land == laZebra && c3->wall == waNone)
|
||||||
|
|
Loading…
Reference in New Issue