From 83d80251330139090ccc0502ab335192f1bcd638 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 5 Apr 2019 13:43:48 +0200 Subject: [PATCH] replaced [8] with [MAX_EDGE] --- orbs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orbs.cpp b/orbs.cpp index 919c034d..0399594e 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -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) {