SERVER: Clear some unneccessary precaches

This commit is contained in:
Steam Deck User 2023-03-29 00:11:51 -04:00
parent e45b74eaed
commit 5487e14384
2 changed files with 11 additions and 11 deletions

View file

@ -426,6 +426,8 @@ void() setup_perk =
// Quick Revive // Quick Revive
void() perk_revive = void() perk_revive =
{ {
precache_sound ("sounds/pu/byebye.wav");
// //
// Set Default Stats for Compatibility // Set Default Stats for Compatibility
// //
@ -1445,6 +1447,7 @@ void() Create_Floating_Weapon =
void() mystery_box_tp_spot = void() mystery_box_tp_spot =
{ {
precache_model ("models/props/teddy.mdl"); precache_model ("models/props/teddy.mdl");
precache_sound ("sounds/pu/byebye.wav");
self.solid=SOLID_TRIGGER; self.solid=SOLID_TRIGGER;
self.classname = "mystery_box_tp_spot"; self.classname = "mystery_box_tp_spot";
@ -1912,7 +1915,7 @@ void() perk_pap =
precache_model ("models/machines/quake_scale/pap.mdl"); precache_model ("models/machines/quake_scale/pap.mdl");
precache_model ("models/machines/v_pap.mdl"); precache_model ("models/machines/v_pap.mdl");
precache_sound ("sounds/machines/papsound.wav"); precache_sound ("sounds/machines/papsound.wav");
precache_sound ("sounds/machines/papsound.wav"); precache_sound("sounds/weapons/papfire.wav");
setorigin(self, self.origin); setorigin(self, self.origin);
setmodel (self, "models/machines/quake_scale/pap.mdl"); setmodel (self, "models/machines/quake_scale/pap.mdl");
setsize (self, VEC_HULL2_MIN, VEC_HULL2_MAX); setsize (self, VEC_HULL2_MIN, VEC_HULL2_MAX);

View file

@ -134,9 +134,8 @@ void() precaches =
// //
// sprites // sprites
precache_model ("models/sprites/revive.spr");
precache_model ("models/sprites/revive_white.spr");
precache_model ("models/sprites/sprkle.spr"); precache_model ("models/sprites/sprkle.spr");
precache_model ("models/sprites/explosion.spr");
precache_model ("models/sprites/lightning.spr"); precache_model ("models/sprites/lightning.spr");
precache_model ("models/sprites/null.spr"); precache_model ("models/sprites/null.spr");
precache_model ("models/way/current_way.spr"); precache_model ("models/way/current_way.spr");
@ -162,20 +161,20 @@ void() precaches =
precache_model ("models/ai/zarc(.mdl"); precache_model ("models/ai/zarc(.mdl");
precache_model ("models/ai/zhc^.mdl"); precache_model ("models/ai/zhc^.mdl");
// powerups
precache_model ("models/sprites/explosion.spr");
precache_model ("models/pu/perkbottle!.mdl");
// start weapons // start weapons
precache_model ("models/weapons/m1911/v_colt.mdl"); precache_model ("models/weapons/m1911/v_colt.mdl");
precache_model ("models/weapons/m1911/g_colt.mdl"); precache_model ("models/weapons/m1911/g_colt.mdl");
precache_model ("models/weapons/knife/v_knife.mdl"); precache_model ("models/weapons/knife/v_knife.mdl");
precache_model ("models/weapons/grenade/v_grenade.mdl"); precache_model ("models/weapons/grenade/v_grenade.mdl");
precache_model ("models/weapons/grenade/g_grenade.mdl"); precache_model ("models/weapons/grenade/g_grenade.mdl");
precache_model ("models/weapons/grenade/g_betty.mdl");
precache_model ("models/weapons/grenade/v_betty.mdl"); #ifdef FTE
// FTE only has co-op, so don't precache morphine elsewhere.
precache_model ("models/weapons/morphine/v_morphine.mdl"); precache_model ("models/weapons/morphine/v_morphine.mdl");
#endif // FTE
// //
// Sounds // Sounds
// //
@ -201,7 +200,6 @@ void() precaches =
precache_sound("sounds/weapons/colt/magout.wav"); precache_sound("sounds/weapons/colt/magout.wav");
precache_sound("sounds/weapons/colt/shoot.wav"); precache_sound("sounds/weapons/colt/shoot.wav");
precache_sound("sounds/weapons/colt/slide.wav"); precache_sound("sounds/weapons/colt/slide.wav");
precache_sound("sounds/weapons/papfire.wav");
// grenade // grenade
precache_sound("sounds/weapons/grenade/prime.wav"); precache_sound("sounds/weapons/grenade/prime.wav");
@ -227,7 +225,6 @@ void() precaches =
// power-ups // power-ups
precache_sound ("sounds/pu/pickup.wav"); precache_sound ("sounds/pu/pickup.wav");
precache_sound ("sounds/pu/byebye.wav");
precache_sound ("sounds/pu/powerup.wav"); precache_sound ("sounds/pu/powerup.wav");
precache_sound ("sounds/pu/drop.wav"); precache_sound ("sounds/pu/drop.wav");