mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Save only changed achievement data at player save. Some code cleanups.
Also increase tempory at stack buffere for utf8 convertion. It used in sql quaries log output and need have apporpriate size support.
This commit is contained in:
parent
588edbcedb
commit
129c0797a7
4 changed files with 125 additions and 56 deletions
|
|
@ -287,7 +287,7 @@ bool Utf8FitTo(std::string str, std::wstring search);
|
|||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
#define UTF8PRINTF(OUT,FRM,RESERR) \
|
||||
{ \
|
||||
char temp_buf[6000]; \
|
||||
char temp_buf[32*1024]; \
|
||||
va_list ap; \
|
||||
va_start(ap, FRM); \
|
||||
size_t temp_len = vsnprintf(temp_buf,6000,FRM,ap); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue