autodownload update

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7389 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-03-23 08:05:58 +00:00
parent a6e408eb13
commit ebcbbbc933
5 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -1045,7 +1045,7 @@ int downloadpackages()
bool requirepackage(int type, const char *path)
{
if(!havecurl || canceldownloads || !autodownload || type < 0 || type >= PCK_NUM || pendingpackages.access(path)) return false;
if(!havecurl || canceldownloads || type < 0 || type >= PCK_NUM || pendingpackages.access(path)) return false;
package *pck = new package;
pck->name = unixpath(newstring(path));