1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

Orb of Water + Orb of Empathy no longer works on enemies too

This commit is contained in:
Zeno Rogue 2018-07-03 04:22:35 +02:00
parent 1286c66e85
commit a8c55be1d1

View File

@ -746,7 +746,7 @@ void moveBoat(cell *to, cell *from, int direction_hint) {
void moveBoatIfUsingOne(cell *to, cell *from, int direction_hint) {
if(from->wall == waBoat && isWatery(to)) moveBoat(to, from, direction_hint);
else if(from->wall == waBoat && boatGoesThrough(to) && markEmpathy(itOrbWater)) {
else if(from->wall == waBoat && boatGoesThrough(to) && isFriendly(to) && markEmpathy(itOrbWater)) {
placeWater(to, from);
moveBoat(to, from, direction_hint);
}