g_balance_grenadelauncher_secondary_bouncefactor = ReadCoord();
g_balance_grenadelauncher_secondary_bouncestop = ReadCoord();
+ nex_scope = !ReadByte();
+ campingrifle_scope = !ReadByte();
+
if(!postinit)
PostInit();
}
complain_weapon_type = ReadByte();
complain_weapon_time = time;
-}
-
-void Net_CampingrifleScope() {
- campingrifle_scope = TRUE;
-}
-
-void Net_NexScope() {
- nex_scope = TRUE;
+ weapontime = time; // ping the weapon panel
}
// CSQC_Parse_TempEntity : Handles all temporary entity network data in the CSQC layer.
Net_WeaponComplain();
bHandled = true;
break;
- case TE_CSQC_CAMPINGRIFLE_SCOPE:
- Net_CampingrifleScope();
+ case TE_CSQC_NEX_VELOCITY:
+ nex_minvelocity = ReadShort();
+ nex_maxvelocity = ReadShort();
+ nex_speed_falloff_rate = ReadByte();
+ nex_charge = ReadByte();
+ nex_charge_rate = ReadByte();
bHandled = true;
break;
- case TE_CSQC_NEX_SCOPE:
- Net_NexScope();
+ case TE_CSQC_CR_MAXBULLETS:
+ cr_maxbullets = ReadByte();
bHandled = true;
break;
default: