Skip to content

Commit b70b939

Browse files
committed
RIP JACK
1 parent e98e8fa commit b70b939

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/github/jmatcj/ld43/entity/Entity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ protected void keepInBounds() {
8080
if (xPos < 0) {
8181
xPos = 0;
8282
} else if (xPos > LDJam43.SCREEN_WIDTH - width) {
83-
xPos = LDJam43.SCREEN_WIDTH - width - 10;
83+
xPos = LDJam43.SCREEN_WIDTH - width;
8484
}
8585

8686
if (yPos < 0) {
8787
yPos = 0;
8888
} else if (yPos > LDJam43.SCREEN_HEIGHT - height) {
89-
yPos = LDJam43.SCREEN_HEIGHT - height - 10;
89+
yPos = LDJam43.SCREEN_HEIGHT - height;
9090
}
9191
}
9292

0 commit comments

Comments
 (0)