This commit is contained in:
jaynus 2015-05-08 06:57:19 -07:00
parent 027a3dd4ac
commit 3e6c203655

View File

@ -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;