Hi, I added secondary attack to pulse rifle and when I shoot I saw no bullets and hear no sound. But bullets are really there, I can destroy structures etc. with invisible bullets.
If I will change in g_active.c this:
case EV_FIRE_WEAPON:
FireWeapon( ent );
break;
case EV_FIRE_WEAPON2:
FireWeapon2( ent );
break;
to this:
case EV_FIRE_WEAPON:
FireWeapon( ent );
break;
case EV_FIRE_WEAPON2:
FireWeapon( ent );
break;
then first and second attack should be same, but second is invisible and without sound. Why?