Insert muzzleflash precaches from Nuclide into ClientGame_RendererRestart

This commit is contained in:
Marco Cawthorne 2021-10-06 22:01:30 +02:00
parent 149693c735
commit dae98790e5
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 5 additions and 5 deletions

View File

@ -37,9 +37,11 @@ ClientGame_RendererRestart(string rstr)
{
precache_model("models/shell.mdl");
precache_model("models/shotgunshell.mdl");
precache_model("sprites/muzzleflash1.spr");
precache_model("sprites/muzzleflash2.spr");
precache_model("sprites/muzzleflash2.spr");
/* there's also muzzleflash.spr, but that's just MUZZLE_SMALL again */
MUZZLE_RIFLE = (int)getmodelindex("sprites/muzzleflash1.spr");
MUZZLE_SMALL = (int)getmodelindex("sprites/muzzleflash2.spr");
MUZZLE_WEIRD = (int)getmodelindex("sprites/muzzleflash3.spr");
Obituary_Precache();

View File

@ -40,8 +40,6 @@ enum
RADIO_HOLSTER
};
#ifdef SERVER
void
s_satchel_drop(entity master, vector src, vector vel)