From 72a42927279a8b740cd0bb5a8053def4a465f2dd Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 12 Nov 2017 10:16:34 -0600 Subject: FULLPIPE: Improve memory safety and fix leaks in sound code --- engines/fullpipe/modal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/fullpipe/modal.h') 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); }; -- cgit v1.2.3