enet_peer_receive channelID fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4861 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2010-05-14 22:28:47 +00:00
parent c03be6f366
commit 109f26bbe8
+2 -1
View File
@@ -218,7 +218,8 @@ enet_peer_receive (ENetPeer * peer, enet_uint8 * channelID)
incomingCommand = (ENetIncomingCommand *) enet_list_remove (enet_list_begin (& peer -> dispatchedCommands));
* channelID = incomingCommand -> command.header.channelID;
if (channelID != NULL)
* channelID = incomingCommand -> command.header.channelID;
packet = incomingCommand -> packet;