1
This commit is contained in:
parent
abf374d3cf
commit
8c56a6ae63
@ -302,13 +302,13 @@ private:
|
||||
return source_name;
|
||||
});
|
||||
owner_.Get()->GetAbility()->SetSource(attr_handle, cb);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
auto chip_page = hero_dto->At("chip_page");
|
||||
if (chip_page && chip_page->IsObject()) {
|
||||
@ -334,7 +334,6 @@ private:
|
||||
return source_name;
|
||||
});
|
||||
owner_.Get()->GetAbility()->SetSource(attr_handle, cb);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -342,6 +341,7 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
CreatureWeakPtr owner_;
|
||||
|
@ -2200,11 +2200,7 @@ void Human::PushJoinRoomMsg()
|
||||
notifymsg.set_error_code(0);
|
||||
notifymsg.set_server_info(JsonDataMgr::Instance()->server_info);
|
||||
room->FillSMJoinedNotify(this, notifymsg);
|
||||
#ifdef MYDEBUG
|
||||
//notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
|
||||
#else
|
||||
//notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
|
||||
#endif
|
||||
notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
|
||||
GGListener::Instance()->SendToClient(socket_handle, 0, notifymsg);
|
||||
}
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user