mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Seriously WTF, LLVM/clang?
This commit is contained in:
parent
ede1674d6a
commit
9dd78a8a45
11
src/tool.h
11
src/tool.h
@ -49,17 +49,22 @@ struct ToolGroupCap
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// CLANG SUCKS DONKEY BALLS
|
||||||
|
typedef std::map<std::string, struct ToolGroupCap> ToolGCMap;
|
||||||
|
|
||||||
struct ToolCapabilities
|
struct ToolCapabilities
|
||||||
{
|
{
|
||||||
float full_punch_interval;
|
float full_punch_interval;
|
||||||
int max_drop_level;
|
int max_drop_level;
|
||||||
std::map<std::string, ToolGroupCap> groupcaps;
|
// CLANG SUCKS DONKEY BALLS
|
||||||
|
ToolGCMap groupcaps;
|
||||||
|
|
||||||
ToolCapabilities(
|
ToolCapabilities(
|
||||||
float full_punch_interval_=1.4,
|
float full_punch_interval_=1.4,
|
||||||
int max_drop_level_=1,
|
int max_drop_level_=1,
|
||||||
std::map<std::string, ToolGroupCap> groupcaps_ =
|
// CLANG SUCKS DONKEY BALLS
|
||||||
std::map<std::string, ToolGroupCap>()
|
ToolGCMap groupcaps_=ToolGCMap()
|
||||||
):
|
):
|
||||||
full_punch_interval(full_punch_interval_),
|
full_punch_interval(full_punch_interval_),
|
||||||
max_drop_level(max_drop_level_),
|
max_drop_level(max_drop_level_),
|
||||||
|
Loading…
Reference in New Issue
Block a user