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();
- bHandled = true;
- break;
- case TE_CSQC_NEX_SCOPE:
- Net_NexScope();
- bHandled = true;
- break;
default:
// No special logic for this temporary entity; return 0 so the engine can handle it
bHandled = false;