engine: sequence: use Q_strncpy instead of standard strcpy

This commit is contained in:
Alibek Omarov 2021-12-03 09:02:55 +03:00
parent 24edcf7d9e
commit 0c18a06946
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ qboolean Sequence_ParseSentenceLine( void )
if( *c )
*c = 0;
strcpy( groupName, fullgroup );
Q_strncpy( groupName, fullgroup, sizeof( groupName ));
len = Sequence_GetLine( data, sizeof( data ) );
lastCharacterPos = len - 1;