MapPath added at some missed points

This commit is contained in:
Alexander S. Aganichev 2001-08-31 14:37:49 +00:00
parent c8504d1d43
commit caea34b9ee
2 changed files with 5 additions and 4 deletions

View File

@ -332,7 +332,7 @@ void CfgGoldbaseuserno() {
void CfgGoldhelp() {
strxcpy(CFG->helpcfg.fn, val, sizeof(Path));
MapPath(strxcpy(CFG->helpcfg.fn, val, sizeof(Path)));
replaceextension(CFG->helpged, CFG->helpcfg.fn, __gver_cfgext__);
}
@ -340,20 +340,21 @@ void CfgGoldhelp() {
void CfgGoldlang() {
strxcpy(CFG->langcfg, val, sizeof(Path));
MapPath(strxcpy(CFG->langcfg, val, sizeof(Path)));
}
// ------------------------------------------------------------------
void CfgGoldpath() {
PathCopy(CFG->goldpath, val);
MapPath(PathCopy(CFG->goldpath, val));
}
// ------------------------------------------------------------------
void CfgGoldxlat() {
MapPath(val);
replaceextension(CFG->xlatged, val, __gver_cfgext__);
}

View File

@ -546,7 +546,7 @@ void CfgXlatlocalset() {
void CfgXlatpath() {
PathCopy(CFG->xlatpath, val);
MapPath(PathCopy(CFG->xlatpath, val));
}
// ------------------------------------------------------------------