more fixes for coverity, now fixed what i have done in previous build :)
This commit is contained in:
parent
95c121ef43
commit
ff51914ea6
10 changed files with 75 additions and 54 deletions
|
|
@ -131,7 +131,7 @@ int BotManager::CreateBot (const String &name, int difficulty, int personality,
|
|||
continue;
|
||||
|
||||
pickedName->used = nameFound = true;
|
||||
strncpy (outputName, pickedName->name, sizeof (outputName));
|
||||
strncpy (outputName, pickedName->name, SIZEOF_CHAR (outputName));
|
||||
|
||||
steamId = pickedName->steamId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue