make sure connect packets are reliable

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4031 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-12-17 03:24:39 +00:00
parent c90f3818f0
commit b0130462dc
+1 -1
View File
@@ -374,7 +374,7 @@ void c2sinfo(playerent *d) // send update to the server
void sendintro()
{
ENetPacket *packet = enet_packet_create(NULL, MAXTRANS, 0);
ENetPacket *packet = enet_packet_create(NULL, MAXTRANS, ENET_PACKET_FLAG_RELIABLE);
ucharbuf p(packet->data, packet->dataLength);
putint(p, SV_CONNECT);
sendstring(player1->name, p);