mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 17:02:11 +00:00
fixing splitStr and position parsing
This commit is contained in:
@@ -85,6 +85,9 @@ namespace BBM
|
||||
while (std::getline(f, buffer, delim)) {;
|
||||
strings.push_back(buffer);
|
||||
}
|
||||
if (str.back() == delim) {
|
||||
strings.emplace_back("");
|
||||
}
|
||||
return strings;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user