Commit 254f0419 authored by Hubert Denkmair's avatar Hubert Denkmair

implement missing MESSAGE_TYPE_BOT_LOG

parent 80092f03
......@@ -28,6 +28,9 @@ void MsgPackProtocol::to_json(nlohmann::json &j, const MsgPackProtocol::Message
case MESSAGE_TYPE_BOT_MOVE_HEAD:
to_json(j, *static_cast<const BotMoveHeadMessage*>(&msg));
break;
case MESSAGE_TYPE_BOT_LOG:
to_json(j, *static_cast<const BotLogMessage*>(&msg));
break;
case MESSAGE_TYPE_FOOD_SPAWN:
to_json(j, *static_cast<const FoodSpawnMessage*>(&msg));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment