aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-29 11:37:02 -0400
committerMatthew Hoops2011-09-29 11:37:02 -0400
commit878601b2a3b1e60c4ec96ec1ca99d2e5eb5359be (patch)
treedd6b84d17feee2d0a60e945999ba8a8f10627b91 /engines/pegasus
parent34fd248f8a0fcc95ab08743106daed6715274c2d (diff)
downloadscummvm-rg350-878601b2a3b1e60c4ec96ec1ca99d2e5eb5359be.tar.gz
scummvm-rg350-878601b2a3b1e60c4ec96ec1ca99d2e5eb5359be.tar.bz2
scummvm-rg350-878601b2a3b1e60c4ec96ec1ca99d2e5eb5359be.zip
PEGASUS: Fix a typo in the SoundLevel code
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/elements.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/elements.cpp b/engines/pegasus/elements.cpp
index 905be501e3..103dfcff11 100644
--- a/engines/pegasus/elements.cpp
+++ b/engines/pegasus/elements.cpp
@@ -556,7 +556,7 @@ void SoundLevel::setSoundLevel(uint16 level) {
}
void SoundLevel::draw(const Common::Rect &r) {
- Common::Rect levelRect(_bounds.right - (8 * (_soundLevel - 12)), _bounds.top, _bounds.right, _bounds.bottom);
+ Common::Rect levelRect(_bounds.right + (8 * (_soundLevel - 12)), _bounds.top, _bounds.right, _bounds.bottom);
levelRect = r.findIntersectingRect(levelRect);
if (!levelRect.isEmpty()) {