aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-21 23:11:08 -0400
committerPaul Gilbert2016-07-10 16:11:42 -0400
commit48e9387f2dacc09fff656d8c493a048c520a5c13 (patch)
tree0c74382ef84341c64d7a67101658dcad9c2e80a6 /engines/titanic/pet_control
parente4bc0b260155009918efa736f4f859571ebd671e (diff)
downloadscummvm-rg350-48e9387f2dacc09fff656d8c493a048c520a5c13.tar.gz
scummvm-rg350-48e9387f2dacc09fff656d8c493a048c520a5c13.tar.bz2
scummvm-rg350-48e9387f2dacc09fff656d8c493a048c520a5c13.zip
TITANIC: Fix placement of PET glyphs scroll buttons
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.cpp b/engines/titanic/pet_control/pet_glyphs.cpp
index af4679fa97..eedd94dff3 100644
--- a/engines/titanic/pet_control/pet_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_glyphs.cpp
@@ -85,7 +85,7 @@ void CPetGlyphs::setup(int numVisible, CPetSection *owner) {
_owner = owner;
_selection.setBounds(Rect(0, 0, 76, 76));
- int buttonsLeft = numVisible * 7 * 5 + 21;
+ int buttonsLeft = numVisible * 70 + 21;
_scrollLeft.setBounds(Rect(0, 0, 31, 15));
_scrollLeft.translate(buttonsLeft, 373);