mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 21:13:00 +00:00
replaced [8] with [MAX_EDGE]
This commit is contained in:
4
orbs.cpp
4
orbs.cpp
@@ -1076,8 +1076,8 @@ eItem targetRangedOrb(cell *c, orbAction a) {
|
|||||||
|
|
||||||
// nature
|
// nature
|
||||||
if(items[itOrbNature] && numplayers() == 1 && c->monst != moFriendlyIvy) {
|
if(items[itOrbNature] && numplayers() == 1 && c->monst != moFriendlyIvy) {
|
||||||
cell *sides[8];
|
cell *sides[MAX_EDGE];
|
||||||
int dirs[8];
|
int dirs[MAX_EDGE];
|
||||||
int qsides = 0;
|
int qsides = 0;
|
||||||
forCellIdCM(cf, d, c)
|
forCellIdCM(cf, d, c)
|
||||||
if(cf->monst == moFriendlyIvy) {
|
if(cf->monst == moFriendlyIvy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user