diff options
Diffstat (limited to '')
-rw-r--r-- | src/effectvideo.cpp | 4 |
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 |