MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FlushChatCommandQueue

Function FlushChatCommandQueue

netcon/mtclient/chat_api.cpp:1051–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049}
1050
1051void FlushChatCommandQueue() {
1052 Chat_command *tmp_cmd;
1053 Currcommand = Firstcommand;
1054
1055 while (Currcommand) {
1056 tmp_cmd = Currcommand->next;
1057 DLLmem_free(Currcommand);
1058 Currcommand = tmp_cmd;
1059 }
1060 Firstcommand = nullptr;
1061}
1062
1063void FlushChannelList() {
1064 Chat_channel *tmp_chan;

Callers 2

ConnectToChatServerFunction · 0.85
DisconnectFromChatServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected