*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -176,7 +176,7 @@ bool resolverwait(const char *name, ENetAddress *address)
|
||||
if(resolved) break;
|
||||
|
||||
timeout = SDL_GetTicks() - starttime;
|
||||
show_out_of_renderloop_progress(min(float(timeout)/RESOLVERLIMIT, 1), text);
|
||||
show_out_of_renderloop_progress(min(float(timeout)/RESOLVERLIMIT, 1.0f), text);
|
||||
SDL_Event event;
|
||||
while(SDL_PollEvent(&event))
|
||||
{
|
||||
@@ -266,7 +266,7 @@ int connectwithtimeout(ENetSocket sock, const char *hostname, ENetAddress &addre
|
||||
break;
|
||||
}
|
||||
timeout = SDL_GetTicks() - starttime;
|
||||
show_out_of_renderloop_progress(min(float(timeout)/CONNLIMIT, 1), text);
|
||||
show_out_of_renderloop_progress(min(float(timeout)/CONNLIMIT, 1.0f), text);
|
||||
SDL_Event event;
|
||||
while(SDL_PollEvent(&event))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user