diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-07 00:11:25 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-07 00:11:25 +0000 |
commit | 8d27447b01407d6605b1fed89fcd556572d8cfca (patch) | |
tree | 6522b58e4ed67ae3c2c043389e0ae6ce9e442ab2 /src | |
parent | 0b709da73d0657fd3754f8bf1f871ca76cd2c95b (diff) | |
download | mana-8d27447b01407d6605b1fed89fcd556572d8cfca.tar.gz mana-8d27447b01407d6605b1fed89fcd556572d8cfca.tar.bz2 mana-8d27447b01407d6605b1fed89fcd556572d8cfca.tar.xz mana-8d27447b01407d6605b1fed89fcd556572d8cfca.zip |
Fixed a compile error that I accidently caused (sorry).
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/mapreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index c24c3690..f3d78ae9 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -236,8 +236,8 @@ MapReader::readMap(xmlNodePtr node, const std::string &path) // The object group offset is applied to each object individually const int tileOffsetX = XML::getProperty(childNode, "x", 0); const int tileOffsetY = XML::getProperty(childNode, "y", 0); - const int offsetX = tileOffsetX * tw; - const int offsetY = tileOffsetY * th; + const int offsetX = tileOffsetX * tilew; + const int offsetY = tileOffsetY * tileh; for_each_xml_child_node(objectNode, childNode) { |