mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
misc warn fixes
parser had a few spots where it was throwing int compares to ints instead of bools for logical and/ors. not bitwise ones. _dumpDirectories had a stray itterator dupe
This commit is contained in:
parent
c6a1a42cf0
commit
a956264bbc
2 changed files with 8 additions and 8 deletions
|
|
@ -618,13 +618,13 @@ bool MountSystem::_dumpDirectories(DirectoryRef directory, Vector<StringTableEnt
|
|||
// So if we queried for data/ and are currently processing data/ExampleModule/datablocks we want to output
|
||||
// ExampleModule/datablocks
|
||||
Path newDirectoryPath;
|
||||
for (U32 iteration = basePathDirectoryCount; iteration < directoryPath.getDirectoryCount(); ++iteration)
|
||||
for (U32 subIteration = basePathDirectoryCount; subIteration < directoryPath.getDirectoryCount(); ++subIteration)
|
||||
{
|
||||
if (iteration > basePathDirectoryCount)
|
||||
if (subIteration > basePathDirectoryCount)
|
||||
{
|
||||
newDirectoryPath.setPath(newDirectoryPath.getPath() + "/");
|
||||
}
|
||||
newDirectoryPath.setPath(newDirectoryPath.getPath() + directoryPath.getDirectory(iteration));
|
||||
newDirectoryPath.setPath(newDirectoryPath.getPath() + directoryPath.getDirectory(subIteration));
|
||||
}
|
||||
|
||||
newDirectoryPath.setFileName(directoryPath.getFileName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue