|
@@ -158,17 +158,6 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
m_message_handle->on_message(loop,loc,is_history);
|
|
|
}
|
|
|
}
|
|
|
-struct ld_1318
|
|
|
-{
|
|
|
- ld_1318(double a,double b,double c)
|
|
|
- :x(a)
|
|
|
- ,y(b)
|
|
|
- ,speed(c)
|
|
|
- {}
|
|
|
- double x;
|
|
|
- double y;
|
|
|
- double speed;
|
|
|
-};
|
|
|
|
|
|
void card_location_base::upt_card_pos(YA::_CARD_POS_&cp, point &pt)
|
|
|
{
|
|
@@ -185,29 +174,6 @@ void card_location_base::upt_card_pos(YA::_CARD_POS_&cp, point &pt)
|
|
|
cp.Type=m_type;
|
|
|
cp.ID = m_id;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
cp.speed = abs(ceil(m_speed));
|
|
|
|
|
|
cp.x = tool_other::round(_p.x,3);
|
|
@@ -234,7 +200,7 @@ int card_location_base::get_stat()
|
|
|
|
|
|
uint64_t now = time(0)*1000;
|
|
|
uint64_t tlost=now>m_time?now-m_time:m_time-now;
|
|
|
- log_info("card_lost:%03d%010d,[%lu-%lu]tlost:%lu---%s",m_type,m_id,now,m_time,tlost,tlost>CARD_LOST_TIME_OUT?"True":"False");
|
|
|
+
|
|
|
if(tlost>CARD_LOST_TIME_OUT)
|
|
|
{
|
|
|
|