summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 23:56:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41 (patch)
treeffb67ce98fe080e59b8a59b47c8b61eaae433b0d
parentc5ca3e7f6571cb96f05a9ba2aa7ed3c0dbd06bf9 (diff)
downloadmanaverse-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.gz
manaverse-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.bz2
manaverse-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.tar.xz
manaverse-6ae93ba8f2a8927ab83b6bdf3d52eb2e68c4bb41.zip
improve function pointer usage in soundmanager.
-rw-r--r--src/soundmanager.cpp2
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()