equal
deleted
inserted
replaced
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); |