diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 23:56:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41 (patch) | |
tree | ffb67ce98fe080e59b8a59b47c8b61eaae433b0d /src/soundmanager.cpp | |
parent | c5ca3e7f6571cb96f05a9ba2aa7ed3c0dbd06bf9 (diff) | |
download | plus-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.gz plus-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.bz2 plus-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.xz plus-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.zip |
improve function pointer usage in soundmanager.
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r-- | src/soundmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index 83d42e108..7ddf5d175 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -66,7 +66,7 @@ SoundManager::SoundManager(): // This set up our callback function used to // handle fade outs endings. sFadingOutEnded = false; - Mix_HookMusicFinished(fadeOutCallBack); + Mix_HookMusicFinished(&fadeOutCallBack); } SoundManager::~SoundManager() |