1
This commit is contained in:
parent
b48122e8e9
commit
1693f33025
@ -29,7 +29,6 @@ class Bag
|
|||||||
void InternalPushBagInfo();
|
void InternalPushBagInfo();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
Human* owner_ = nullptr;
|
Human* owner_ = nullptr;
|
||||||
std::map<int, std::shared_ptr<BagItem>> items_;
|
std::map<int, std::shared_ptr<BagItem>> items_;
|
||||||
};
|
};
|
||||||
|
@ -2963,7 +2963,7 @@ void Bag::UseItem(int equip_id)
|
|||||||
void Bag::PushBagInfo()
|
void Bag::PushBagInfo()
|
||||||
{
|
{
|
||||||
owner_->room->xtimer.SetTimeoutEx
|
owner_->room->xtimer.SetTimeoutEx
|
||||||
(500 / FRAME_RATE_MS,
|
(1000 / FRAME_RATE_MS,
|
||||||
[this] (int event, const a8::Args* args)
|
[this] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user