mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- a load of bugfixes including:
- proper handling of invalid client connects, after 6 bad attempts in a 60 second period of time the IP address is blocked from the current game - Added check for invalid particles for tileset objects - Made messagebox wider in game mod menu - Fixed numerous threading issues discovered while testing on my 8 core CPU - a Little bit of rendering cleanup
This commit is contained in:
@@ -415,12 +415,7 @@ void SystemFlags::handleDebug(DebugType type, const char *fmt, ...) {
|
||||
else {
|
||||
// Get the current time.
|
||||
time_t curtime = time (NULL);
|
||||
// Convert it to local time representation.
|
||||
struct tm *loctime = localtime (&curtime);
|
||||
char szBuf2[100]="";
|
||||
strftime(szBuf2,100,"%Y-%m-%d %H:%M:%S",loctime);
|
||||
|
||||
logDebugEntry(type, szBuf, curtime);
|
||||
logDebugEntry(type, (szBuf[0] != '\0' ? szBuf : ""), curtime);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user