1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

- Fixed some warnings from cppcheck

- Minor improvements to JSON validation
- Cleanup in SDL_Extensions.cpp
- Implemented new propery for creature format: idle animation duration
- Disabled idle animation of some of conflux creatures (was clearly
broken)
This commit is contained in:
Ivan Savenko
2013-11-06 13:42:58 +00:00
parent 86b7feeab3
commit 71d6b0fea9
24 changed files with 159 additions and 183 deletions

View File

@@ -50,9 +50,9 @@ JsonNode::JsonNode(ResourceID && fileURI):
}
JsonNode::JsonNode(const JsonNode &copy):
type(DATA_NULL)
type(DATA_NULL),
meta(copy.meta)
{
meta = copy.meta;
setType(copy.getType());
switch(type)
{