From c364b20bac6c802d76718f6c63ac0fe5246d3851 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 9 Apr 2022 12:52:00 -0400 Subject: [PATCH] Fix broken lightning.spr path precache --- source/server/main.qc | 2 +- source/shared/weapon_defines.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/server/main.qc b/source/server/main.qc index 7eb881c..c8e039f 100644 --- a/source/server/main.qc +++ b/source/server/main.qc @@ -515,7 +515,7 @@ string(string asset) convert_old_asset_path = case "progs/gmodels/g_betty.mdl": return "models/weapons/grenade/g_betty.mdl"; case "progs/GModels/g_fg.mdl": - return "models/weapons/fg/g_fg.mdl"; + return "models/weapons/fg42/g_fg.mdl"; case "progs/gmodels/g_m1.mdl": return "models/weapons/garand/g_m1.mdl"; case "progs/gmodels/g_trench.mdl": diff --git a/source/shared/weapon_defines.qc b/source/shared/weapon_defines.qc index 9d20bcf..661d32c 100644 --- a/source/shared/weapon_defines.qc +++ b/source/shared/weapon_defines.qc @@ -3346,7 +3346,7 @@ void(float weptype) precache_extra = break; case W_TESLA: case W_DG3: - precache_model("models/misc/lightning.spr"); + precache_model("models/sprites/lightning.spr"); precache_sound("sounds/weapons/tesla/switchoff.wav"); precache_sound("sounds/weapons/tesla/pulllever.wav"); precache_sound("sounds/weapons/tesla/glassbreak.wav");