aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/modal.h
diff options
context:
space:
mode:
authorColin Snover2017-11-12 10:16:34 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commit72a42927279a8b740cd0bb5a8053def4a465f2dd (patch)
tree81ad3321e6e6898c19d4d26c1c3ae64bcbc536c4 /engines/fullpipe/modal.h
parent8f1d76d2616489924f472815f91107cd46d479de (diff)
downloadscummvm-rg350-72a42927279a8b740cd0bb5a8053def4a465f2dd.tar.gz
scummvm-rg350-72a42927279a8b740cd0bb5a8053def4a465f2dd.tar.bz2
scummvm-rg350-72a42927279a8b740cd0bb5a8053def4a465f2dd.zip
FULLPIPE: Improve memory safety and fix leaks in sound code
Diffstat (limited to 'engines/fullpipe/modal.h')
-rw-r--r--engines/fullpipe/modal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h
index ba8880827d..6cd4581b39 100644
--- a/engines/fullpipe/modal.h
+++ b/engines/fullpipe/modal.h
@@ -228,7 +228,7 @@ private:
void enableDebugMenu(char c);
int checkHover(Common::Point &point);
void updateVolume();
- void updateSoundVolume(Sound *snd);
+ void updateSoundVolume(Sound &snd);
void updateSliderPos();
bool isOverArea(PictureObject *obj, Common::Point *point);
};