mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Changed: #851 misc linux patches (patches provided by ratmice)
This commit is contained in:
parent
479357475a
commit
9b8e688e7b
2 changed files with 3 additions and 3 deletions
|
@ -981,7 +981,7 @@ TInterfaceState globalMenu()
|
||||||
while (PlayerWantToGoInGame == false)
|
while (PlayerWantToGoInGame == false)
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef NL_DEBUG
|
#if defined(NL_OS_WINDOWS) && defined(NL_DEBUG)
|
||||||
// tmp for debug
|
// tmp for debug
|
||||||
if (::GetAsyncKeyState(VK_SPACE))
|
if (::GetAsyncKeyState(VK_SPACE))
|
||||||
{
|
{
|
||||||
|
@ -1064,7 +1064,7 @@ TInterfaceState globalMenu()
|
||||||
nlSleep(ClientCfg.Sleep);
|
nlSleep(ClientCfg.Sleep);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NL_DEBUG
|
#if defined(NL_OS_WINDOWS) && defined(NL_DEBUG)
|
||||||
if (::GetAsyncKeyState(VK_CONTROL))
|
if (::GetAsyncKeyState(VK_CONTROL))
|
||||||
{
|
{
|
||||||
pIM->displayUIViewBBoxs("");
|
pIM->displayUIViewBBoxs("");
|
||||||
|
|
|
@ -1197,7 +1197,7 @@ void CPatchManager::downloadFileWithCurl (const string &source, const string &de
|
||||||
// file not found, delete local file
|
// file not found, delete local file
|
||||||
throw Exception ("curl init failed");
|
throw Exception ("curl init failed");
|
||||||
}
|
}
|
||||||
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, FALSE);
|
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0);
|
||||||
curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, downloadProgressFunc);
|
curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, downloadProgressFunc);
|
||||||
curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void *) progress);
|
curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void *) progress);
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, source.c_str());
|
curl_easy_setopt(curl, CURLOPT_URL, source.c_str());
|
||||||
|
|
Loading…
Reference in a new issue