diff --git a/protocol/esta/rdm/message.h b/protocol/esta/rdm/message.h index 77c16da..bbfb321 100644 --- a/protocol/esta/rdm/message.h +++ b/protocol/esta/rdm/message.h @@ -111,12 +111,6 @@ struct Message template static void writeType(std::vector &data, const T val) { - if (val == 0) - { - for (int i = sizeof(T); --i >= 0; ) - data.push_back(0); - return; - } auto raw = reinterpret_cast(&val); for (int i = sizeof(T); --i >= 0; ) data.push_back(raw[i]);