diff options
Diffstat (limited to 'tools/datapacker')
| -rw-r--r-- | tools/datapacker/main.cpp | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 92ff151..28dbc6b 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp | |||
| @@ -49,10 +49,10 @@ class DataPacker { | |||
| 49 | container_.all_objects().SerializeToOstream(&outputfile); | 49 | container_.all_objects().SerializeToOstream(&outputfile); | 
| 50 | } | 50 | } | 
| 51 | 51 | ||
| 52 | std::string output; | 52 | /*std::string output; | 
| 53 | google::protobuf::TextFormat::PrintToString(container_.all_objects(), | 53 | google::protobuf::TextFormat::PrintToString(container_.all_objects(), | 
| 54 | &output); | 54 | &output); | 
| 55 | std::cout << output << std::endl; | 55 | std::cout << output << std::endl;*/ | 
| 56 | } | 56 | } | 
| 57 | 57 | ||
| 58 | private: | 58 | private: | 
| @@ -255,6 +255,10 @@ class DataPacker { | |||
| 255 | door.set_control_center_color(h_door.control_center_color()); | 255 | door.set_control_center_color(h_door.control_center_color()); | 
| 256 | } | 256 | } | 
| 257 | 257 | ||
| 258 | if (h_door.has_complete_at()) { | ||
| 259 | door.set_complete_at(h_door.complete_at()); | ||
| 260 | } | ||
| 261 | |||
| 258 | door.set_type(h_door.type()); | 262 | door.set_type(h_door.type()); | 
| 259 | } | 263 | } | 
| 260 | 264 | ||
