mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
Dice can now be pushed onto items
This commit is contained in:
parent
7fff0405a7
commit
db5a9baac2
2
game.cpp
2
game.cpp
@ -430,7 +430,7 @@ EX bool canPushThumperOn(movei mi, cell *player) {
|
|||||||
return
|
return
|
||||||
passable(tgt, thumper, P_MIRROR) &&
|
passable(tgt, thumper, P_MIRROR) &&
|
||||||
passable(tgt, player, P_MIRROR) &&
|
passable(tgt, player, P_MIRROR) &&
|
||||||
!tgt->item;
|
(!tgt->item || dice::on(thumper));
|
||||||
}
|
}
|
||||||
|
|
||||||
EX void activateActiv(cell *c, bool msg) {
|
EX void activateActiv(cell *c, bool msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user