zhuyf 2 vuotta sitten
vanhempi
commit
222ef49a54
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      card_car.cpp

+ 4 - 4
card_car.cpp

@@ -220,10 +220,10 @@ void car::handle_anti_coll(const point& pt, const int& sid)
 		desc = std::to_string(m_id) + "[";
         for(auto c : cd)
         {
-            desc += std::to_string(c.first);
-            std::ostringstream buf;
-            buf<<c.second;
-            desc += "," + buf.str();
+            desc += std::to_string(c.first) + ",";
+            //std::ostringstream buf;
+            //buf<<c.second;
+            //desc += "," + buf.str();
             //if(i != (cards.size() - 1)){
             //    desc += ";";
             //}