Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c1c0a34897
commit
0bbcfc2361
@ -326,17 +326,6 @@ int NetworkHttp::progressDownload(void *clientp,
|
|||||||
f= download_total==0 ? 0 : 0.99f;
|
f= download_total==0 ? 0 : 0.99f;
|
||||||
}
|
}
|
||||||
network_http->m_progress.set(f);
|
network_http->m_progress.set(f);
|
||||||
|
|
||||||
static int time_last_print=0;
|
|
||||||
if(time_last_print > 10)
|
|
||||||
{
|
|
||||||
std::cout << "Download progress: " << f << "%" << std::endl;
|
|
||||||
time_last_print = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
time_last_print += 1;
|
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
} // progressDownload
|
} // progressDownload
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user