Skip to content

Commit

Permalink
chore: bump sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
vadzz-dev committed Dec 10, 2023
1 parent fa482da commit 94235dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions c-api/data/weapon_model_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ struct ClrWeaponModelInfo {
std::copy(info.ammoType.begin(), info.ammoType.end(), ammoType);
ammoType[info.ammoType.length()] = '\0';

modelName = new char[info.modelName.length() + 1];
std::copy(info.modelName.begin(), info.modelName.end(), modelName);
modelName[info.modelName.length()] = '\0';
modelName = new char[info.model.length() + 1];
std::copy(info.model.begin(), info.model.end(), modelName);
modelName[info.model.length()] = '\0';

ammoModelName = new char[info.ammoModelName.length() + 1];
std::copy(info.ammoModelName.begin(), info.ammoModelName.end(), ammoModelName);
Expand Down
2 changes: 1 addition & 1 deletion cpp-sdk

0 comments on commit 94235dd

Please sign in to comment.