API: Legacy: Fix build issues caused by the merge

This commit is contained in:
Paul Hollinsky
2021-06-11 13:05:39 -04:00
parent 843fa92564
commit f3e456e7ea
2 changed files with 27 additions and 458 deletions
@@ -25,7 +25,7 @@ public:
if (!fakedev->com->decoder->decode(msg, packet))
continue; // We failed to decode this packet
if(!msg || msg->type != Message::Type::Main51)
if(!msg || msg->network.getNetID() != Network::NetID::Main51)
continue; // Not a message we care about
auto sn = std::dynamic_pointer_cast<SerialNumberMessage>(msg);
if(!sn)