|
@@ -76,6 +76,16 @@ void card_location_base::do_status(int st)
|
|
|
st = st & (0xFFFFFFFF ^ STATUS_HELP);
|
|
|
}
|
|
|
|
|
|
+ if((STATUS_POWER_LOWER_SERIOUS & st) != 0)
|
|
|
+ {
|
|
|
+ m_pwr_stat=STATUS_POWER_LOWER_SERIOUS;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ m_pwr_stat=0;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
module_mgr::do_status((STATUS_CARD)st, m_id, m_type);
|
|
|
}
|
|
|
|
|
@@ -196,7 +206,7 @@ void card_location_base::upt_card_pos(YA::_CARD_POS_&cp, point &pt)
|
|
|
// list_1318.emplace_back(x,y,speed);
|
|
|
// }
|
|
|
// else
|
|
|
- cp.speed = abs(ceil(m_speed));
|
|
|
+ cp.speed = abs(ceil(m_speed));
|
|
|
|
|
|
cp.x = tool_other::round(_p.x,3);
|
|
|
cp.y = tool_other::round(_p.y,3);
|
|
@@ -206,7 +216,7 @@ void card_location_base::upt_card_pos(YA::_CARD_POS_&cp, point &pt)
|
|
|
cp.display=m_display;
|
|
|
cp.rec_time=m_time;
|
|
|
cp.level_id = m_level_id;
|
|
|
- cp.stat=get_stat();
|
|
|
+ cp.stat=m_pwr_stat;
|
|
|
|
|
|
swsTimerThrd.upt_card_pos(cp);
|
|
|
}
|