The knife in 1.5 doesn't create decals apparently (the beta versions do, though) make this a switch? Does anyone care?...

This commit is contained in:
Marco Cawthorne 2018-12-09 05:59:13 +01:00
parent c1497341a8
commit 807bfb00e0

View file

@ -52,9 +52,9 @@ int BaseMelee_Attack( void ) {
sound( self, CHAN_WEAPON, sprintf( "weapons/knife_hit%d.wav", floor( ( random() * 4 ) + 1 ) ), 1, ATTN_NORM );
}
Damage_Apply( trace_ent, self, wptTable[ self.weapon ].iDamage, trace_endpos, FALSE );
} else {
}/* else {
Effect_Impact( IMPACT_MELEE, trace_endpos, trace_plane_normal );
}
}*/
return TRUE;
}