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:
parent
e4ad1c07a3
commit
83d8025133
4
orbs.cpp
4
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user