|
@@ -58,15 +58,15 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
auto site_ptr = sit_list::instance()->get(loc.m_site_id);
|
|
|
|
|
|
if(site_ptr->is_up_site())
|
|
|
- {
|
|
|
- m_message_handle->on_message(loop,loc,is_history);
|
|
|
- }
|
|
|
- else
|
|
|
{
|
|
|
auto area_tool=get_area_tool();
|
|
|
area_tool->set(site_ptr);
|
|
|
area_tool->on_point(shared_from_this(),point(1,1));
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ m_message_handle->on_message(loop,loc,is_history);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//前端推送位置函数.
|