diff --git a/src/Episode3/Server.cc b/src/Episode3/Server.cc index 10fd4db7..c216006b 100644 --- a/src/Episode3/Server.cc +++ b/src/Episode3/Server.cc @@ -251,9 +251,6 @@ void Server::send(const void* data, size_t size, uint8_t command, bool enable_ma size = masked_data.size(); } - // Note: Sega's servers sent battle commands with the 60 command. The handlers for 60, 62, and C9 on the client are - // identical, so we choose to use C9 instead because it's unique to Episode 3, and therefore seems more appropriate - // to convey Episode 3 battle commands. send_command(l, command, 0x00, data, size); for (auto watcher_l : l->watcher_lobbies) { send_command_if_not_loading(watcher_l, command, 0x00, data, size); diff --git a/src/Episode3/Server.hh b/src/Episode3/Server.hh index cef9cfa7..d44c258f 100644 --- a/src/Episode3/Server.hh +++ b/src/Episode3/Server.hh @@ -121,6 +121,9 @@ public: int8_t get_winner_team_id() const; + // Note: Sega's servers sent battle commands with the 60 command. The handlers for 60, 62, and C9 on the client are + // identical, so we choose to use C9 instead because it's unique to Episode 3, and therefore seems more appropriate + // to convey Episode 3 battle commands. template void send(const T& cmd, uint8_t command = 0xC9, bool enable_masking = true) const { if (cmd.header.size != sizeof(cmd) / 4) {