1
This commit is contained in:
parent
060f878346
commit
9d68d679f8
@ -227,9 +227,8 @@ namespace MetaData
|
||||
for (const std::string& str : strings) {
|
||||
std::vector<std::string> strings2;
|
||||
a8::Split(str, strings2, ':');
|
||||
assert(strings2.size() == 2);
|
||||
int drop_id = a8::XValue(strings2[0]);
|
||||
int weight = a8::XValue(strings2[1]);
|
||||
int weight = strings2.size() > 1 ? a8::XValue(strings2[1]).GetInt() : 10000;
|
||||
total_weight += weight;
|
||||
drop.push_back
|
||||
(std::make_tuple(
|
||||
|
Loading…
x
Reference in New Issue
Block a user