mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-10-06 06:39:52 +00:00
Remove trailing comma after reading strParseIntWithKey (#259)
This commit is contained in:
parent
42c541012c
commit
53a4437be9
@ -208,6 +208,10 @@ int strParseIntWithKey(char** stringPtr, const char* key, int* valuePtr, const c
|
||||
*(str + v4) = tmp2;
|
||||
*(str + v2) = tmp1;
|
||||
|
||||
if (**stringPtr == ',') {
|
||||
*stringPtr = *stringPtr + 1;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user