mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Merge pull request #148 from WPMGPRoSToTeMa/autoprecachetextureandanimgroup
Fix slashes in seqgroup filename
This commit is contained in:
commit
b25b18dfb4
@ -1507,7 +1507,11 @@ int EXT_FUNC PF_precache_model_I(const char *s)
|
||||
if (pSeqGroup->name[0] == '\0')
|
||||
continue;
|
||||
|
||||
PF_precache_generic_I(pSeqGroup->name);
|
||||
char seqGroupName[MAX_QPATH];
|
||||
Q_strcpy(seqGroupName, pSeqGroup->name);
|
||||
ForwardSlashes(seqGroupName);
|
||||
|
||||
PF_precache_generic_I(seqGroupName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user