GrenadeL alt fire fix

This commit is contained in:
insellium 2023-12-11 06:40:33 +05:00
parent a4fe13c122
commit 8b1de85aa0

View file

@ -676,7 +676,7 @@ void G_RunMissile( gentity_t *ent ) {
else { else {
VectorCopy( tr.endpos, ent->r.currentOrigin ); VectorCopy( tr.endpos, ent->r.currentOrigin );
} }
if ( ent->s.weapon == WP_ROCKET_LAUNCHER ) { if ( ent->s.weapon == WP_ROCKET_LAUNCHER || !strcmp(ent->classname,"fire_cluster_grenade") ) {
Missile_Smooth_H(ent,origin,&tr); Missile_Smooth_H(ent,origin,&tr);
} }
trap_LinkEntity( ent ); trap_LinkEntity( ent );