From 2042e8871a471cd06b0da3b5e0b2e167a14f19e7 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 14 Oct 2007 18:05:14 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1360 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/sound.cpp b/source/src/sound.cpp index 60fbc441..d14d02d4 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -296,11 +296,11 @@ void checkplayerloopsounds() // add other sounds here } - if(player1->move || player1->strafe) + if(footsteps && (player1->move || player1->strafe)) { int idx = findsoundloc(S_FOOTSTEPS, player1); if(idx == -1 || !soundlocs[idx].inuse) playsound(S_FOOTSTEPS, player1); - } + } } VAR(stereo, 0, 1, 1);