From 8d27447b01407d6605b1fed89fcd556572d8cfca Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 7 Oct 2008 00:11:25 +0000 Subject: Fixed a compile error that I accidently caused (sorry). --- src/resources/mapreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2