diff --git a/core/src/ru/deadsoftware/cavedroid/game/GameItems.java b/core/src/ru/deadsoftware/cavedroid/game/GameItems.java
index c3e020791570a456bf906f41165d8a76cb654171..87bb3d66a0cd4c0ac3a1196dc115d8cdf4f88fa6 100644 (file)
public static boolean fluidCanFlowThere(int thisId, int thatId) {
return thatId == 0 || (!getBlock(thatId).hasCollision() && !isFluid(thatId)) ||
- (isWater(thisId) && isWater(thatId) && thatId >= thisId) ||
- (isLava(thisId) && isLava(thatId) && thatId >= thisId);
+ (isWater(thisId) && isWater(thatId) && thisId < thatId) ||
+ (isLava(thisId) && isLava(thatId) && thisId < thatId);
}
public static Block getBlock(int id) {