Codechange: use reference instead of pointer for CommandPacket

This commit is contained in:
Rubidium
2024-02-04 17:20:25 +01:00
committed by rubidium42
parent cb588d8d3f
commit 3534214dfc
8 changed files with 46 additions and 46 deletions

View File

@@ -530,8 +530,8 @@ public:
NetworkRecvStatus ReceivePackets();
const char *ReceiveCommand(Packet &p, CommandPacket *cp);
void SendCommand(Packet &p, const CommandPacket *cp);
const char *ReceiveCommand(Packet &p, CommandPacket &cp);
void SendCommand(Packet &p, const CommandPacket &cp);
bool IsPendingDeletion() const { return this->is_pending_deletion; }