1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

replaced [8] with [MAX_EDGE]

This commit is contained in:
Zeno Rogue 2019-04-05 13:43:48 +02:00
parent e4ad1c07a3
commit 83d8025133

View File

@ -1076,8 +1076,8 @@ eItem targetRangedOrb(cell *c, orbAction a) {
// nature
if(items[itOrbNature] && numplayers() == 1 && c->monst != moFriendlyIvy) {
cell *sides[8];
int dirs[8];
cell *sides[MAX_EDGE];
int dirs[MAX_EDGE];
int qsides = 0;
forCellIdCM(cf, d, c)
if(cf->monst == moFriendlyIvy) {