From f53f11092620878fd19a606285a6d8de6ab14cb0 Mon Sep 17 00:00:00 2001 From: aurhat Date: Sat, 27 Jan 2018 09:34:59 +0100 Subject: [PATCH] Fix crash in client compiled in CB 17.12 on Windows It happened for -O3 compiler flag. --- source/src/audiomanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/audiomanager.cpp b/source/src/audiomanager.cpp index de9888ca..7a03c7f6 100644 --- a/source/src/audiomanager.cpp +++ b/source/src/audiomanager.cpp @@ -365,7 +365,7 @@ void audiomanager::updateplayerfootsteps(playerent *p) { // play float rndoffset = float(rnd(500))/500.0f; - audiomgr._playsound(stepsound, ref, local ? SP_HIGH : SP_LOW, rndoffset); + _playsound(stepsound, ref, local ? SP_HIGH : SP_LOW, rndoffset); } } }