Drop memory allocator from ClientNetworkGameSocketHandler
Have ClientNetworkGameSocketHandler initialise all of its members on construction and not derive from ZeroedMemoryAllocator. (cherry picked from commit dddda4f0b7ba0bd6f310f924d3b85cadbc81dc99)
This commit is contained in:

committed by
Jonathan G Rennison

parent
33e3956b13
commit
80fd6a2783
@@ -17,7 +17,7 @@
|
||||
#include "network_internal.h"
|
||||
|
||||
/** Class for handling the client side of the game connection. */
|
||||
class ClientNetworkGameSocketHandler : public ZeroedMemoryAllocator, public NetworkGameSocketHandler {
|
||||
class ClientNetworkGameSocketHandler : public NetworkGameSocketHandler {
|
||||
private:
|
||||
struct PacketReader *savegame; ///< Packet reader for reading the savegame.
|
||||
byte token; ///< The token we need to send back to the server to prove we're the right client.
|
||||
|
Reference in New Issue
Block a user