mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 05:57:37 +00:00
replaced macro VALENCE with function valence()
This commit is contained in:
@@ -1984,7 +1984,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
if(t == 50) { c->item = itNone; break; }
|
||||
cell *dog1 = dogcells[hrand(isize(dogcells))];
|
||||
cell *dog2 = dogcells[hrand(isize(dogcells))];
|
||||
if(VALENCE != 3 || isNeighbor(dog1, dog2)) {
|
||||
if(valence() != 3 || isNeighbor(dog1, dog2)) {
|
||||
dog1->monst = moHunterGuard;
|
||||
dog1->landparam = 0;
|
||||
dog2->monst = moHunterGuard;
|
||||
|
||||
Reference in New Issue
Block a user