Precache all weapons, to avoid a network overflow.
This commit is contained in:
parent
9ebc54a6f1
commit
019e2c531a
1 changed files with 18 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue