mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix FPS model not being set correctly to match the world model
This commit is contained in:
parent
aa9847cf90
commit
d83ad43b0b
1 changed files with 2 additions and 0 deletions
|
@ -1200,7 +1200,9 @@ void CG_ModelAnim(centity_t *cent, qboolean bDoShaderTime)
|
|||
if (!cg.pLastPlayerWorldModel || cg.pLastPlayerWorldModel != model.tiki) {
|
||||
qhandle_t hModel;
|
||||
char fpsname[128];
|
||||
|
||||
COM_StripExtension(model.tiki->a->name, fpsname, sizeof(fpsname));
|
||||
Q_strcat(fpsname, sizeof(fpsname), "_fps.tik");
|
||||
|
||||
hModel = cgi.R_RegisterModel(fpsname);
|
||||
if (hModel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue