oh, compiles now
This commit is contained in:
parent
036ab78828
commit
7f57e8377a
@ -267,4 +267,5 @@ void CLog::LogError(const char *fmt, ...)
|
||||
|
||||
// print on server console
|
||||
print_srvconsole("L %s: %s\n", date, msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user