From 78afa659472cc4cfca37056088ed9cb9f79845eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Dec 2017 02:21:30 +0300 Subject: Remove default parameters from soundmanager. --- src/being/being.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 618989bd5..daf8cd542 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1946,8 +1946,9 @@ void Being::logic() restrict2 const int time2 = tick_time; if (time2 > mNextSound.time) { - soundManager.playSfx(sound->sound, mNextSound.x, mNextSound.y); - + soundManager.playSfx(sound->sound, + mNextSound.x, + mNextSound.y); mNextSound.sound = nullptr; mNextSound.time = time2 + sound->delay; } -- cgit v1.2.3-70-g09d2