Game Development Community

IsFile bug

by Michael Gingerich · in Torque Game Engine Advanced · 07/24/2008 (2:02 pm) · 0 replies

Sometimes it returns true when a file does not exist.

This happens in this sequence of events:

addResPath();
fileDelete();
isFile() <-------- incorrectly returns true


I've tried purgeResources() and removeResPath() and it didn't help. ResourceManager.dictionary still has the old file

Anyone have a fix?