2
0
Fork 0
mirror of https://github.com/rehlds/ReGameDLL_CS.git synced 2025-08-17 12:09:34 +03:00

TutorMessageEvent::GetNextParameter: Fixed corrupted stack

This commit is contained in:
s1lentq 2023-07-16 04:13:08 +07:00
commit ad13545dac

View file

@ -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;