Insert muzzleflash precaches from Nuclide into ClientGame_RendererRestart

This commit is contained in:
Marco Cawthorne 2021-10-06 22:02:04 +02:00
parent c7f99fc00a
commit bf36a8f5c0
Signed by: eukara
GPG Key ID: C196CD8BA993248A
1 changed files with 5 additions and 0 deletions

View File

@ -62,4 +62,9 @@ ClientGame_RendererRestart(string rstr)
precache_model("sprites/tfc_dmsg.spr");
precache_model("sprites/nmxhair2.spr");
BEAM_TRIPMINE = particleeffectnum("weapon_tripmine.beam");
/* 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");
}