Fix precache warnings for some client-side shells. Not exactly necessary

but pleases the compiler.
This commit is contained in:
Marco Cawthorne 2021-05-10 13:25:57 +02:00
parent 8878715c85
commit 061ea05c05
2 changed files with 2 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}