TGEA 1.7 resManager::isValidWriteFileName
by Michael Gingerich · in Torque Game Engine Advanced · 06/18/2008 (7:22 am) · 1 replies
There's a bug in ResManager::isValidWriteFileName, if you have more than one path in writeablePath (using the ';' seperator)
Fix:
// now loop through the writeable path.
const char * start = writeablePath;
for (;;)
{
const char * end = dStrchr (start, ';'); // <- replaced writeablePath with start
if (!end)
end = start + dStrlen (start); // <- replaced writeablePath with start
Fix:
// now loop through the writeable path.
const char * start = writeablePath;
for (;;)
{
const char * end = dStrchr (start, ';'); // <- replaced writeablePath with start
if (!end)
end = start + dStrlen (start); // <- replaced writeablePath with start
Associate Rene Damm
BTW, within the 'if' statement, both variants are correct.