diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 7003e0de3..8fc8003ff 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -3011,14 +3011,12 @@ void Being::playSfx(const SoundInfo &sound, Being *const being, { being->mNextSound.sound = nullptr; being->mNextSound.time = time + sound.delay; - being->mNextSound.sound = nullptr; soundManager.playSfx(sound.sound, x, y); } else if (mNextSound.time <= time) { // old event sound time is gone. we can play new sound being->mNextSound.sound = nullptr; being->mNextSound.time = time + sound.delay; - being->mNextSound.sound = nullptr; soundManager.playSfx(sound.sound, x, y); } else |