From 93c973b83dbfbb6aa3b2696fe938390ff7c3b2fd Mon Sep 17 00:00:00 2001 From: tyabus Date: Sun, 9 Feb 2020 12:02:36 +0300 Subject: [PATCH] Fix Precache of sprites/redglow1 ambigious (no extension specified) --- mp/src/game/server/hl2/weapon_rpg.cpp | 1 - mp/src/game/shared/hl2mp/weapon_rpg.cpp | 3 +-- sp/src/game/server/hl2/weapon_rpg.cpp | 1 - sp/src/game/shared/hl2mp/weapon_rpg.cpp | 3 +-- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mp/src/game/server/hl2/weapon_rpg.cpp b/mp/src/game/server/hl2/weapon_rpg.cpp index e627859358..07b635e3d9 100644 --- a/mp/src/game/server/hl2/weapon_rpg.cpp +++ b/mp/src/game/server/hl2/weapon_rpg.cpp @@ -1458,7 +1458,6 @@ void CWeaponRPG::Precache( void ) PrecacheScriptSound( "Missile.Accelerate" ); // Laser dot... - PrecacheModel( "sprites/redglow1.vmt" ); PrecacheModel( RPG_LASER_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE ); diff --git a/mp/src/game/shared/hl2mp/weapon_rpg.cpp b/mp/src/game/shared/hl2mp/weapon_rpg.cpp index aa3cc8fd0b..1859958e3c 100644 --- a/mp/src/game/shared/hl2mp/weapon_rpg.cpp +++ b/mp/src/game/shared/hl2mp/weapon_rpg.cpp @@ -1248,7 +1248,7 @@ void CAPCMissile::ComputeActualDotPosition( CLaserDot *pLaserDot, Vector *pActua #define RPG_BEAM_SPRITE "effects/laser1.vmt" #define RPG_BEAM_SPRITE_NOZ "effects/laser1_noz.vmt" -#define RPG_LASER_SPRITE "sprites/redglow1" +#define RPG_LASER_SPRITE "sprites/redglow1.vmt" //============================================================================= // RPG @@ -1361,7 +1361,6 @@ void CWeaponRPG::Precache( void ) PrecacheScriptSound( "Missile.Accelerate" ); // Laser dot... - PrecacheModel( "sprites/redglow1.vmt" ); PrecacheModel( RPG_LASER_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE_NOZ ); diff --git a/sp/src/game/server/hl2/weapon_rpg.cpp b/sp/src/game/server/hl2/weapon_rpg.cpp index e627859358..07b635e3d9 100644 --- a/sp/src/game/server/hl2/weapon_rpg.cpp +++ b/sp/src/game/server/hl2/weapon_rpg.cpp @@ -1458,7 +1458,6 @@ void CWeaponRPG::Precache( void ) PrecacheScriptSound( "Missile.Accelerate" ); // Laser dot... - PrecacheModel( "sprites/redglow1.vmt" ); PrecacheModel( RPG_LASER_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE ); diff --git a/sp/src/game/shared/hl2mp/weapon_rpg.cpp b/sp/src/game/shared/hl2mp/weapon_rpg.cpp index aa3cc8fd0b..1859958e3c 100644 --- a/sp/src/game/shared/hl2mp/weapon_rpg.cpp +++ b/sp/src/game/shared/hl2mp/weapon_rpg.cpp @@ -1248,7 +1248,7 @@ void CAPCMissile::ComputeActualDotPosition( CLaserDot *pLaserDot, Vector *pActua #define RPG_BEAM_SPRITE "effects/laser1.vmt" #define RPG_BEAM_SPRITE_NOZ "effects/laser1_noz.vmt" -#define RPG_LASER_SPRITE "sprites/redglow1" +#define RPG_LASER_SPRITE "sprites/redglow1.vmt" //============================================================================= // RPG @@ -1361,7 +1361,6 @@ void CWeaponRPG::Precache( void ) PrecacheScriptSound( "Missile.Accelerate" ); // Laser dot... - PrecacheModel( "sprites/redglow1.vmt" ); PrecacheModel( RPG_LASER_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE ); PrecacheModel( RPG_BEAM_SPRITE_NOZ );