zhuyf 2 lat temu
rodzic
commit
56405a2502
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      card_car.cpp

+ 1 - 1
card_car.cpp

@@ -217,7 +217,7 @@ void car::handle_anti_coll(const point& pt, const int& sid)
         event_tool::instance()->handle_event(OT_CARD, ET_PERSON_VEHICLE_ANTI_COLLISION, id, 0, 0, false);
     }else{
         size_t i = 0;
-		desc = "[";
+		desc = std::to_string(m_id) + "[";
         for(auto c : cd)
         {
             desc += std::to_string(c.first);