mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-03 09:10:35 +03:00
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 on server console
|
||||||
print_srvconsole("L %s: %s\n", date, msg);
|
print_srvconsole("L %s: %s\n", date, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
#if defined WIN32
|
#if defined WIN32
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
#else
|
||||||
|
#include <dirent.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "amxmodx.h"
|
#include "amxmodx.h"
|
||||||
@ -187,7 +189,7 @@ void BuildPluginFileList(CStack<String *> & files)
|
|||||||
if ((dp = opendir(pluginsDir)) == NULL)
|
if ((dp = opendir(pluginsDir)) == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
while ( (ep=readdir(dp) != NULL )
|
while ( (ep=readdir(dp)) != NULL )
|
||||||
{
|
{
|
||||||
ParseAndOrAdd(files, ep->d_name);
|
ParseAndOrAdd(files, ep->d_name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user