AnvilStats: Fixed compilation.
This commit is contained in:
parent
274bdc40ff
commit
2d68969a45
@ -138,6 +138,7 @@ typedef unsigned short UInt16;
|
|||||||
|
|
||||||
|
|
||||||
// CRT stuff:
|
// CRT stuff:
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -554,8 +554,8 @@ void cProcessor::PopulateFileQueue(const AString & a_WorldFolder)
|
|||||||
{
|
{
|
||||||
Path.push_back(cFile::PathSeparator);
|
Path.push_back(cFile::PathSeparator);
|
||||||
}
|
}
|
||||||
AStringList AllFiles = GetDirectoryContents(Path.c_str());
|
AStringVector AllFiles = cFile::GetFolderContents(Path.c_str());
|
||||||
for (AStringList::iterator itr = AllFiles.begin(), end = AllFiles.end(); itr != end; ++itr)
|
for (AStringVector::iterator itr = AllFiles.begin(), end = AllFiles.end(); itr != end; ++itr)
|
||||||
{
|
{
|
||||||
if (itr->rfind(".mca") != itr->length() - 4)
|
if (itr->rfind(".mca") != itr->length() - 4)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user