no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@821 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-01-15 23:56:54 +00:00
parent 55ad2c1f68
commit b27dbf8f93
2 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -496,7 +496,8 @@ void raydamage(vec &from, vec &to, playerent *d)
else if((o = intersectclosest(from, to, i, d)))
{
playerent head = *o; // check headshot
head.eyeheight = head.aboveeye/3;
head.eyeheight = head.aboveeye/4;
head.radius = 2;
if(d->gunselect == GUN_SNIPER && intersect(&head, from, to)) gdam = guns[d->gunselect].damage * 3;
hitpush(i, gdam, o, d, from, to);