Shotguns should now gib singleplayer fix, MP is still bugged

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6925 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Ronald Reagan
2012-11-11 03:01:42 +00:00
parent 697eb75f57
commit d3af385dad
+1 -1
View File
@@ -681,7 +681,7 @@ void raydamage(vec &from, vec &to, playerent *d)
lastsgs_hits = numhits;
lastsgs_dmgt = dmgreal;
// conoutf("%d [%.3f%s] DMG with %d hits", lastsgs_dmgt, dmg4r, withBONUS ? "\fs\f3+\fr" : "", lastsgs_hits);
if(numhits) hitpush( dmgreal, o, d, from, to, d->weaponsel->type, dmgreal == SGDMGTOTAL, dmgreal);
if(numhits) hitpush( dmgreal, o, d, from, to, d->weaponsel->type, lastsgs_hits == SGRAYS*3, dmgreal);
// if(numhits) hitpush( dmgreal, o, d, from, to, d->weaponsel->type, dmgreal == SGMAXDMGABS, dmgreal);
if(d==player1) hitted = true;