aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
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()) {