no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1360 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-10-14 18:05:14 +00:00
parent 49a25731f4
commit 2042e8871a
+2 -2
View File
@@ -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);