Bug #1324: Artem's solution

deque
cc9cii 11 years ago
parent f7c89015f9
commit b36bb58e8c

@ -38,6 +38,8 @@ void Script::load(ESMReader &esm)
char* str = &tmp[0];
for (size_t i = 0; i < mVarNames.size(); i++)
{
char *termsym = strchr(str, '\r');
if(termsym) *termsym = '\0';
mVarNames[i] = std::string(str);
str += mVarNames[i].size() + 1;

Loading…
Cancel
Save