mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 01:09:34 +00:00
Changed: #851 misc linux patches (patches provided by ratmice)
This commit is contained in:
parent
61544f1400
commit
e77d7dab27
2 changed files with 3 additions and 3 deletions
|
@ -981,7 +981,7 @@ TInterfaceState globalMenu()
|
|||
while (PlayerWantToGoInGame == false)
|
||||
{
|
||||
|
||||
#ifdef NL_DEBUG
|
||||
#if defined(NL_OS_WINDOWS) && defined(NL_DEBUG)
|
||||
// tmp for debug
|
||||
if (::GetAsyncKeyState(VK_SPACE))
|
||||
{
|
||||
|
@ -1064,7 +1064,7 @@ TInterfaceState globalMenu()
|
|||
nlSleep(ClientCfg.Sleep);
|
||||
}
|
||||
|
||||
#ifdef NL_DEBUG
|
||||
#if defined(NL_OS_WINDOWS) && defined(NL_DEBUG)
|
||||
if (::GetAsyncKeyState(VK_CONTROL))
|
||||
{
|
||||
pIM->displayUIViewBBoxs("");
|
||||
|
|
|
@ -1197,7 +1197,7 @@ void CPatchManager::downloadFileWithCurl (const string &source, const string &de
|
|||
// file not found, delete local file
|
||||
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_PROGRESSDATA, (void *) progress);
|
||||
curl_easy_setopt(curl, CURLOPT_URL, source.c_str());
|
||||
|
|
Loading…
Reference in a new issue