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:
parent
718f0330f1
commit
ad13545dac
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue