*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@473 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-05 18:35:19 +00:00
parent 1802cace77
commit 70206b3bce
22 changed files with 210 additions and 218 deletions
+3 -5
View File
@@ -311,8 +311,7 @@ void CBot::SendBotInfo()
m_pMyEnt->state)<<5);
ENetPacket *packet = enet_packet_create (NULL, MAXTRANS, 0);
uchar *start = packet->data;
uchar *p = start+2;
ucharbuf p(packet->data, packet->dataLength);
putint(p, SV_BOTUPDATE);
putint(p, BotManager.GetBotIndex(m_pMyEnt));
@@ -340,9 +339,8 @@ void CBot::SendBotInfo()
};
*(ushort *)start = ENET_HOST_TO_NET_16(p-start);
enet_packet_resize(packet, p-start);
incomingdemodata(start, p-start, true);
enet_packet_resize(packet, p.length());
incomingdemodata(p.buf, p.length(), true);
if(clienthost)
{
enet_host_broadcast(clienthost, 0, packet);