From d3af385dad0a1d075ca72a71b26efa7bf443ae46 Mon Sep 17 00:00:00 2001 From: Ronald Reagan Date: Sun, 11 Nov 2012 03:01:42 +0000 Subject: [PATCH] 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 --- source/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 2407cec8..7dfe7d21 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -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;