Precache all weapons, to avoid a network overflow.

This commit is contained in:
Marco Cawthorne 2024-07-11 19:42:48 -07:00
parent 9ebc54a6f1
commit 019e2c531a
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -51,6 +51,24 @@ Game_Worldspawn(void)
Sound_Precache("Player.FlashLightOff"); Sound_Precache("Player.FlashLightOff");
Sound_Precache("Player.FlashLightOn"); Sound_Precache("Player.FlashLightOn");
EntityDef_Precache("weapon_crowbar");
EntityDef_Precache("weapon_9mmhandgun");
EntityDef_Precache("weapon_357");
EntityDef_Precache("weapon_9mmAR");
EntityDef_Precache("weapon_shotgun");
EntityDef_Precache("weapon_crossbow");
EntityDef_Precache("weapon_rpg");
EntityDef_Precache("weapon_gauss");
EntityDef_Precache("weapon_egon");
EntityDef_Precache("weapon_hornetgun");
EntityDef_Precache("weapon_handgrenade");
EntityDef_Precache("weapon_satchel");
EntityDef_Precache("weapon_tripmine");
EntityDef_Precache("weapon_snark");
EntityDef_Precache("weapon_handcannon");
EntityDef_Precache("weapon_chainsaw");
EntityDef_Precache("weapon_hammer");
Player_Precache(); Player_Precache();
SHData_Parse(mapname); SHData_Parse(mapname);
FX_Corpse_Init(); FX_Corpse_Init();