From 061ea05c053fa6157925bf90270baa5c3d7b5782 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 10 May 2021 13:25:57 +0200 Subject: [PATCH] Fix precache warnings for some client-side shells. Not exactly necessary but pleases the compiler. --- src/shared/w_glock.qc | 1 + src/shared/w_shotgun.qc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/shared/w_glock.qc b/src/shared/w_glock.qc index ab14540..fa5efa6 100644 --- a/src/shared/w_glock.qc +++ b/src/shared/w_glock.qc @@ -89,6 +89,7 @@ w_glock_precache(void) #else precache_model("models/v_9mmhandgun.mdl"); precache_model("models/p_9mmhandgun.mdl"); + precache_model("models/shell.mdl"); Sound_Precache("modelevent_shell.land"); #endif } diff --git a/src/shared/w_shotgun.qc b/src/shared/w_shotgun.qc index 4f4d0d5..31041b4 100644 --- a/src/shared/w_shotgun.qc +++ b/src/shared/w_shotgun.qc @@ -90,6 +90,7 @@ void w_shotgun_precache(void) #else precache_model("models/v_shotgun.mdl"); precache_model("models/p_shotgun.mdl"); + precache_model("models/shotgunshell.mdl"); Sound_Precache("modelevent_shotgunshell.land"); #endif }