mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
TutorMessageEvent::GetNextParameter: Fixed corrupted stack
This commit is contained in:
parent
718f0330f1
commit
ad13545dac
@ -104,7 +104,7 @@ char *TutorMessageEvent::GetNextParameter(char *buf, int buflen)
|
|||||||
Q_strncpy(buf, param->m_data, buflen);
|
Q_strncpy(buf, param->m_data, buflen);
|
||||||
|
|
||||||
#ifdef REGAMEDLL_FIXES
|
#ifdef REGAMEDLL_FIXES
|
||||||
buf[buflen] = '\0';
|
buf[buflen - 1] = '\0';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
delete param;
|
delete param;
|
||||||
|
Loading…
Reference in New Issue
Block a user