diff --git a/bin/RabiClone.jar b/bin/RabiClone.jar index 0d6c283..5ce0177 100644 Binary files a/bin/RabiClone.jar and b/bin/RabiClone.jar differ diff --git a/src/sig/map/Map.java b/src/sig/map/Map.java index 34b748c..0d0943f 100644 --- a/src/sig/map/Map.java +++ b/src/sig/map/Map.java @@ -37,7 +37,7 @@ public class Map { byte[] types = new byte[MAP_SCREENS_X*MAP_SCREENS_Y]; char[] data = new char[MAP_WIDTH*MAP_HEIGHT]; //While it's stored in a char, the map format only reads 14 bits for this value!! Value is between 0-16384! - char waterLevel = 144; + char waterLevel = (MAP_HEIGHT/2) * Tile.TILE_HEIGHT; int eventTileCount=0; diff --git a/src/sig/objects/actor/PhysicsObject.java b/src/sig/objects/actor/PhysicsObject.java index 18707d2..abcba6e 100644 --- a/src/sig/objects/actor/PhysicsObject.java +++ b/src/sig/objects/actor/PhysicsObject.java @@ -89,6 +89,7 @@ public abstract class PhysicsObject extends AnimatedObject implements PhysicsObj protected PhysicsObject(AnimatedSprite spr, double animationSpd, Panel panel) { super(spr, animationSpd, panel); setCollisionBox(setCollisionBounds()); + setPhysicsBasedOnLandOrUnderwaterStatus(); } @Override