diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-15 17:13:33 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-15 17:19:42 -0300 |
commit | b025d4874b171c675dc18889c3900c83194863e6 (patch) | |
tree | 2a3e49d2ca29d8fe46e2713b5e5b8ca1ed3de265 /src | |
parent | d164c4385eeebed9f461a8314f45a227fb0dca20 (diff) |
TProtocol: Add `flex_packet`, and make use of it in `packet`
This will be needed later on.
Diffstat (limited to 'src')
-rw-r--r-- | src/pso/TProtocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp index 408214b..e9b3226 100644 --- a/src/pso/TProtocol.cpp +++ b/src/pso/TProtocol.cpp @@ -150,7 +150,7 @@ void TProtocol::recv_generate_id(packet &pkt) { void TProtocol::recv_pso_data_long(packet &pkt) { TRecvPsoData &tmp = as(TRecvPsoData &, pkt); - pkt.bswap(); + pkt.pkt.bswap(); tmp.data.recv_pso_data_buf(tmp.header.size - 4); }; |