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:
cirdan
2015-11-28 18:49:03 +01:00
committed by Jonathan G Rennison
parent 33e3956b13
commit 80fd6a2783
2 changed files with 4 additions and 2 deletions

View File

@@ -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.