oh, compiles now

This commit is contained in:
David Anderson 2006-06-06 10:49:33 +00:00
parent 036ab78828
commit 7f57e8377a
2 changed files with 5 additions and 2 deletions

View File

@ -267,4 +267,5 @@ void CLog::LogError(const char *fmt, ...)
// print on server console
print_srvconsole("L %s: %s\n", date, msg);
}
}

View File

@ -33,6 +33,8 @@
#if defined WIN32
#include <direct.h>
#else
#include <dirent.h>
#endif
#include "amxmodx.h"
@ -187,7 +189,7 @@ void BuildPluginFileList(CStack<String *> & files)
if ((dp = opendir(pluginsDir)) == NULL)
return;
while ( (ep=readdir(dp) != NULL )
while ( (ep=readdir(dp)) != NULL )
{
ParseAndOrAdd(files, ep->d_name);
}