diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-02 20:41:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-02 20:41:01 +0300 |
commit | 1dab21b236d76900f3ddd2be32f9590aef394c2d (patch) | |
tree | 9ff63d2bf544a440c5d8de41faa401e900898012 /src/resources/mapreader.cpp | |
parent | f4f16b2fd6c455cd38e089a97db374c5ee3ea9fd (diff) | |
download | mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.gz mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.bz2 mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.tar.xz mv-1dab21b236d76900f3ddd2be32f9590aef394c2d.zip |
Remove most C casts.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index ede630d0c..51d762569 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -705,7 +705,7 @@ Tileset *MapReader::readTileset(XmlNodePtr node, const std::string &path, std::string pathDir(path); std::map<std::string, std::string> props; - if (xmlHasProp(node, BAD_CAST "source")) + if (XmlHasProp(node, "source")) { std::string filename = XML::getProperty(node, "source", ""); filename = resolveRelativePath(path, filename); |