src/network/network_data.cpp
changeset 8254 1496654ca5e7
parent 8247 16e1c8db6f55
child 8694 e523ac1c5e69
equal deleted inserted replaced
8253:eec832095805 8254:1496654ca5e7
     9 #include "../command_func.h"
     9 #include "../command_func.h"
    10 #include "../callback_table.h"
    10 #include "../callback_table.h"
    11 #include "../core/alloc_func.hpp"
    11 #include "../core/alloc_func.hpp"
    12 #include "../string_func.h"
    12 #include "../string_func.h"
    13 #include "../date_func.h"
    13 #include "../date_func.h"
       
    14 #include "../player_func.h"
    14 
    15 
    15 // Add a command to the local command queue
    16 // Add a command to the local command queue
    16 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
    17 void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
    17 {
    18 {
    18 	CommandPacket* new_cp = MallocT<CommandPacket>(1);
    19 	CommandPacket* new_cp = MallocT<CommandPacket>(1);