*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1362 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-10-15 20:12:47 +00:00
parent 82174b2081
commit ff820b7ab3
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ void checkplayerloopsounds()
// sync to model animation
int basetime = -((int)(size_t)p&0xFFF);
int time = lastmillis-basetime;
int speed = 1860/p->maxspeed;
int speed = int(1860/p->maxspeed);
// TODO: share with model code
if(time%speed < footstepalign) playsound(S_FOOTSTEPS, p);