summaryrefslogtreecommitdiff
path: root/src/effectvideo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectvideo.cpp')
-rw-r--r--src/effectvideo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effectvideo.cpp b/src/effectvideo.cpp
index 38a7686..3aa43fb 100644
--- a/src/effectvideo.cpp
+++ b/src/effectvideo.cpp
@@ -6,7 +6,7 @@
#include <sfx.h>
-extern "C" void *PlaySound(dEn_c *, int soundID);
+extern "C" void *PlaySoundAsync(dEn_c *, int soundID);
class EffectVideo : public dEn_c {
@@ -72,7 +72,7 @@ int EffectVideo::onExecute() {
if (this->timer == this->delay) {
if (this->type == 0) { // Plays a sound
- PlaySound(this, this->effect);
+ PlaySoundAsync(this, this->effect);
}
else { // Plays an Effect