Send inventory packets when picking up world items

coverity_scan^2
David Cernat 8 years ago
parent a7f081dfa5
commit 6e630e6123

@ -34,6 +34,9 @@ namespace MWWorld
event->cellRef.mRefNum.mIndex,
event->cell.getDescription().c_str());
// LocalPlayer's inventory has changed, so send a packet with it
mwmp::Main::get().getLocalPlayer()->sendInventory();
MWBase::Environment::get().getWorld()->deleteObject (getTarget());
}
}

Loading…
Cancel
Save