Fixed typo in core causing CS:GO build break.
This commit is contained in:
parent
a9b6bcf779
commit
e9f002e9c5
@ -516,7 +516,7 @@ public:
|
||||
CHECK_FIELD_NOT_REPEATED();
|
||||
|
||||
std::string scratch;
|
||||
strncopy(out, msg->GetReflection()->GetStringReference(*msg, field, &buffer).c_str(), size);
|
||||
strncopy(out, msg->GetReflection()->GetStringReference(*msg, field, &scratch).c_str(), size);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user