2
0
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:
theAsmodai 2016-02-02 02:35:03 +03:00
commit b25b18dfb4

View File

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