- Weapon w = PS(self).m_weapon;
- PS(self).m_weapon = WEP_ELECTRO;
- W_SetupShot_ProjectileSize (self, '0 0 -3', '0 0 -3', false, 2, SND_ELECTRO_FIRE2, CH_WEAPON_A, autocvar_g_rm_laser_damage);
- PS(self).m_weapon = w;
+ Weapon w = PS(actor).m_weapon;
+ PS(actor).m_weapon = WEP_ELECTRO;
+ W_SetupShot_ProjectileSize (actor, weaponentity, '0 0 -3', '0 0 -3', false, 2, SND_ELECTRO_FIRE2, CH_WEAPON_A, autocvar_g_rm_laser_damage);
+ PS(actor).m_weapon = w;