mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +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);
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
buf[buflen] = '\0';
|
||||
buf[buflen - 1] = '\0';
|
||||
#endif
|
||||
|
||||
delete param;
|
||||
|
Loading…
Reference in New Issue
Block a user