mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-26 21:37:02 +00:00
Raging Bull can no longer push Princess onto player's cell
This commit is contained in:
parent
4799f7c5f7
commit
002c354a51
@ -659,7 +659,7 @@ EX void beastAttack(cell *c, bool player, bool targetdir) {
|
||||
if(c2->monst && c2->stuntime) {
|
||||
cellwalker bull (c, d);
|
||||
int subdir = determinizeBullPush(bull);
|
||||
auto mi = determinePush(bull, subdir, [c2] (movei mi) { return passable(mi.t, c2, P_BLOW); });
|
||||
auto mi = determinePush(bull, subdir, [c2] (movei mi) { return passable(mi.t, c2, P_BLOW) && !isPlayerOn(mi.t); });
|
||||
if(mi.proper())
|
||||
pushMonster(mi);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user