mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-01 21:10:35 +00:00
don't set landparam for hunting dogs outside of laHunting
This commit is contained in:
parent
d33fc20c6b
commit
fbc32c6bc4
@ -2076,10 +2076,10 @@ EX void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
if(valence() != 3 || isNeighbor(dog1, dog2)) {
|
if(valence() != 3 || isNeighbor(dog1, dog2)) {
|
||||||
dog1->monst = moHunterGuard;
|
dog1->monst = moHunterGuard;
|
||||||
dog1->stuntime = 0;
|
dog1->stuntime = 0;
|
||||||
dog1->landparam = 0;
|
if(dog1->land == laHunting) dog1->landparam = 0;
|
||||||
dog2->monst = moHunterGuard;
|
dog2->monst = moHunterGuard;
|
||||||
dog2->stuntime = 0;
|
dog2->stuntime = 0;
|
||||||
dog2->landparam = 1;
|
if(dog2->land == laHunting) dog2->landparam = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user