Fix a small melee use oversight.

This commit is contained in:
Mari the Deer 2022-09-27 21:46:09 +02:00
commit 2010962b03
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r519 \cu(Tue 27 Sep 21:44:21 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r519 \cu(2022-09-27 21:44:21)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r520 \cu(Tue 27 Sep 21:46:09 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r520 \cu(2022-09-27 21:46:09)\c-";

View file

@ -532,9 +532,9 @@ extend Class SWWMWeapon
}
}
invoker.wallponch = false;
// check for shootables
SWWMBulletTrail.DoTrail(self,origin,dir,DEFMELEERANGE*rangemul,0);
}
// check for shootables
SWWMBulletTrail.DoTrail(self,origin,dir,DEFMELEERANGE*rangemul,0);
bool res = TryMelee((raging?.3:.2)*spreadmul,dmg,hitsound,rangemul,kickmul,flags,impactclass);
if ( res && !(flags&MELEE_Rip) ) return res;
// check for walls instead