From 5fd8640d62ff63a64d088611bd80bf2ffe4070d3 Mon Sep 17 00:00:00 2001 From: CharlesVaneenoo Date: Fri, 26 Feb 2016 21:25:20 +0100 Subject: [PATCH] new PR after bad rebase --- .../main/org/apollo/game/fs/decoder/GameObjectDecoder.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/game/src/main/org/apollo/game/fs/decoder/GameObjectDecoder.java b/game/src/main/org/apollo/game/fs/decoder/GameObjectDecoder.java index cfe24a54..68b7af03 100644 --- a/game/src/main/org/apollo/game/fs/decoder/GameObjectDecoder.java +++ b/game/src/main/org/apollo/game/fs/decoder/GameObjectDecoder.java @@ -172,11 +172,9 @@ public final class GameObjectDecoder implements Runnable { block = true; } - if ((attributes & BRIDGE_TILE) != 0) { - if (height > 0) { + if ((attributes & BRIDGE_TILE) != 0 && height >0) { block = true; height--; - } } if (block) {