projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to to too two times
[oweals/minetest.git]
/
src
/
mods.h
diff --git
a/src/mods.h
b/src/mods.h
index dedcc98978ff1ceb241dba2af5f32c9e22f75af3..f35bd18dba0b5e01c8046c1d6d423f1171d08a04 100644
(file)
--- a/
src/mods.h
+++ b/
src/mods.h
@@
-30,10
+30,6
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#include "json/json.h"
#include "config.h"
#include "json/json.h"
#include "config.h"
-#if USE_CURL
-#include <curl/curl.h>
-#endif
-
#define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_"
class ModError : public std::exception
#define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_"
class ModError : public std::exception
@@
-66,7
+62,7
@@
struct ModSpec
bool is_modpack;
// if modpack:
std::map<std::string,ModSpec> modpack_content;
bool is_modpack;
// if modpack:
std::map<std::string,ModSpec> modpack_content;
- ModSpec(const std::string
name_="", const std::string
path_=""):
+ ModSpec(const std::string
&name_="", const std::string &
path_=""):
name(name_),
path(path_),
depends(),
name(name_),
path(path_),
depends(),
@@
-104,7
+100,7
@@
public:
m_name_conflicts()
{}
m_name_conflicts()
{}
-
+
ModConfiguration(std::string worldpath);
// checks if all dependencies are fullfilled.
ModConfiguration(std::string worldpath);
// checks if all dependencies are fullfilled.