1
This commit is contained in:
parent
844bd0833e
commit
b08db96a93
@ -280,7 +280,7 @@ void PlayerStats::ParseReward(a8::XObject& xobj)
|
|||||||
auto items_xobj = reward_xobj->At("items");
|
auto items_xobj = reward_xobj->At("items");
|
||||||
if (items_xobj && items_xobj->IsArray()) {
|
if (items_xobj && items_xobj->IsArray()) {
|
||||||
for (int i = 0; i < items_xobj->Size(); ++i) {
|
for (int i = 0; i < items_xobj->Size(); ++i) {
|
||||||
auto item_xobj = reward_xobj->At(i);
|
auto item_xobj = items_xobj->At(i);
|
||||||
if (item_xobj && item_xobj->IsObject()) {
|
if (item_xobj && item_xobj->IsObject()) {
|
||||||
over_reward.items.push_back
|
over_reward.items.push_back
|
||||||
(std::make_tuple
|
(std::make_tuple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user