*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@226 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-03-16 20:12:29 +00:00
parent b241c057d4
commit d5c4c91fc6
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -183,7 +183,8 @@ void localservertoclient(uchar *buf, int len) // processes any updates from th
e.y = getint(p)/DMF;
e.z = getint(p)/DMF;
if(gun==GUN_SHOTGUN) createrays(s, e);
int nademillis = getint(p)*100;
int nademillis = 2000/100*getint(p);
if(nademillis<0 || nademillis>100) nademillis = 100;
printf("nadesec: %i\n", nademillis);
shootv(gun, s, e, d, nademillis);
break;