diff --git a/source/src/sound.cpp b/source/src/sound.cpp index cdeeae43..60fbc441 100644 --- a/source/src/sound.cpp +++ b/source/src/sound.cpp @@ -295,6 +295,12 @@ void checkplayerloopsounds() // add other sounds here } + + if(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);