Ticket #3423: t3423_reproduce_lag_crash.patch
File t3423_reproduce_lag_crash.patch, 505 bytes (added by , 9 years ago) |
---|
-
source/network/NetClient.cpp
273 273 SetCurrState(NCS_UNCONNECTED); 274 274 } 275 275 276 276 void CNetClient::SendChatMessage(const std::wstring& text) 277 277 { 278 std::time_t t = std::time(NULL); 279 while(std::time(NULL) - t < 40) 280 { 281 debug_printf("waiting"); 282 } 283 278 284 CChatMessage chat; 279 285 chat.m_Message = text; 280 286 SendMessage(&chat); 281 287 } 282 288