no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1369 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-10-16 20:54:44 +00:00
parent dc3f9bf347
commit c1c78fa5f1
3 changed files with 6 additions and 3 deletions
+1 -2
View File
@@ -262,7 +262,6 @@ void checkmapsounds()
}
VAR(footsteps, 0, 1, 1);
VAR(footstepradius, 0, 16, 25);
VAR(footstepalign, 5, 15, 4000);
int findsoundloc(int sound, physent *p)
@@ -278,7 +277,7 @@ void checkplayerloopsounds()
playerent *p = players[i];
if(!p) continue;
if(footsteps && camera1->o.dist(p->o) < footstepradius)
if(footsteps && camera1->o.dist(p->o) < 16)
{
int idx = findsoundloc(S_FOOTSTEPS, p);
if(idx == -1 || !soundlocs[idx].inuse)