]> git.lizzy.rs Git - minetest.git/blobdiff - src/httpfetch.cpp
Change lower limit of display_gamma to 1.0 (linear light)
[minetest.git] / src / httpfetch.cpp
index e17a8b1876eb825bf153aa1ce5b4dee3aa2f4ea2..c60e141fc087fbdcd40fc09d1ec2a437db1a88da 100644 (file)
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "util/container.h"
 #include "util/thread.h"
 #include "version.h"
-#include "main.h"
 #include "settings.h"
 
 JMutex g_httpfetch_mutex;
@@ -48,7 +47,7 @@ HTTPFetchRequest::HTTPFetchRequest()
        connect_timeout = timeout;
        multipart = false;
 
-       useragent = std::string(PROJECT_NAME "/") + g_version_hash + " (" + porting::get_sysinfo() + ")";
+       useragent = std::string(PROJECT_NAME_C "/") + g_version_hash + " (" + porting::get_sysinfo() + ")";
 }