diff options
Diffstat (limited to 'engines/bbvs')
-rw-r--r-- | engines/bbvs/minigames/bbloogie.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/engines/bbvs/minigames/bbloogie.cpp b/engines/bbvs/minigames/bbloogie.cpp index 3f7a407df5..ab400e27a7 100644 --- a/engines/bbvs/minigames/bbloogie.cpp +++ b/engines/bbvs/minigames/bbloogie.cpp @@ -981,13 +981,11 @@ void MinigameBbLoogie::updateIndicator(int objIndex) { int unk2mod = loogieObj->unk2 / 8; int unk2div = loogieObj->unk2 / 8 * 8; int v6 = 0; - if (unk2div >= 8) { - if (unk2div != 8) { - int v7 = 1; - do { - v6 += 8 * kLoogieOffY[v7++]; - } while (v7 != unk2mod); - } + if (unk2div > 8) { + int v7 = 1; + do { + v6 += 8 * kLoogieOffY[v7++]; + } while (v7 != unk2mod); } int yOfs = (loogieObj->unk2 % 8 + 1) * kLoogieOffY[loogieObj->unk2 / 8] + v6; if (loogieObj->unk2 >= 30) |