aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_frame.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-09-28 23:42:16 +0200
committerEinar Johan Trøan Sømåen2012-09-28 23:43:43 +0200
commitb31d6212ffc35b987cfb7ee35a5ae3f75bf34a60 (patch)
tree8e94bdc735109f6adc5d39f62b34efe7e49f3ec3 /engines/wintermute/base/base_frame.cpp
parentf6d7d05343375b05f5f487c0c9006fe2cdd7a387 (diff)
downloadscummvm-rg350-b31d6212ffc35b987cfb7ee35a5ae3f75bf34a60.tar.gz
scummvm-rg350-b31d6212ffc35b987cfb7ee35a5ae3f75bf34a60.tar.bz2
scummvm-rg350-b31d6212ffc35b987cfb7ee35a5ae3f75bf34a60.zip
WINTERMUTE: Privatize variables in BaseFrame and BaseSprite
Diffstat (limited to 'engines/wintermute/base/base_frame.cpp')
-rw-r--r--engines/wintermute/base/base_frame.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/wintermute/base/base_frame.cpp b/engines/wintermute/base/base_frame.cpp
index e1b29a3a5c..3e67c29d2f 100644
--- a/engines/wintermute/base/base_frame.cpp
+++ b/engines/wintermute/base/base_frame.cpp
@@ -87,6 +87,12 @@ bool BaseFrame::draw(int x, int y, BaseObject *registerOwner, float zoomX, float
return STATUS_OK;
}
+void BaseFrame::stopSound() {
+ if (_sound) {
+ _sound->stop();
+ }
+}
+
//////////////////////////////////////////////////////////////////////////
bool BaseFrame::oneTimeDisplay(BaseObject *owner, bool muted) {