mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
size+1
This commit is contained in:
parent
027a3dd4ac
commit
3e6c203655
@ -340,7 +340,7 @@ void __stdcall RVExtension(char *output, int outputSize, const char *function)
|
||||
tickTime += strtod(strtok_s(NULL, ":", &next_token), NULL);
|
||||
|
||||
if (index >= bulletDatabase.size())
|
||||
bulletDatabase.resize(index);
|
||||
bulletDatabase.resize(index+1);
|
||||
|
||||
bulletDatabase[index].airFriction = airFriction;
|
||||
bulletDatabase[index].ballisticCoefficients = ballisticCoefficients;
|
||||
|
Loading…
Reference in New Issue
Block a user