diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-12 20:53:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-12 20:53:30 +0300 |
commit | 387493ed0772f266dc323816d2e124c32fcae931 (patch) | |
tree | 16eaa9d38099c38d98d5390c6661028f551d7c60 /src/resources | |
parent | c029c05437d0a730494600edf2304caf3b1eead5 (diff) | |
download | plus-387493ed0772f266dc323816d2e124c32fcae931.tar.gz plus-387493ed0772f266dc323816d2e124c32fcae931.tar.bz2 plus-387493ed0772f266dc323816d2e124c32fcae931.tar.xz plus-387493ed0772f266dc323816d2e124c32fcae931.zip |
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/beingcommon.cpp | 2 | ||||
-rw-r--r-- | src/resources/db/elementaldb.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp index 6f9c3aa6d..2b63063f8 100644 --- a/src/resources/beingcommon.cpp +++ b/src/resources/beingcommon.cpp @@ -62,7 +62,7 @@ void BeingCommon::readWalkingAttributes(BeingInfo *const info, std::string walkStr = XML::getProperty( node, "walkType", "walk"); - const int allFlags = BlockMask::GROUND | + const unsigned char allFlags = BlockMask::GROUND | BlockMask::WALL | BlockMask::WATER | BlockMask::AIR | diff --git a/src/resources/db/elementaldb.cpp b/src/resources/db/elementaldb.cpp index 6706c0acb..928200404 100644 --- a/src/resources/db/elementaldb.cpp +++ b/src/resources/db/elementaldb.cpp @@ -52,7 +52,7 @@ void ElementalDb::load() } void ElementalDb::loadXmlFile(const std::string &fileName, - const SkipError skipError) + const SkipError skipError) { XML::Document doc(fileName, UseResman_true, skipError); const XmlNodePtr rootNode = doc.rootNode(); |