From ae4aea451d6e2c44b273c963026c4fd697568f79 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 9 May 2011 03:55:11 -0600 Subject: Fix sprite buffering size issues Reviewed-by: Yohann Ferreira --- src/resources/spritedef.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/resources') diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index 51e7ae8e..22312107 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -227,8 +227,6 @@ void SpriteDef::loadAnimation(xmlNodePtr animationNode, const int delay = XML::getProperty(frameNode, "delay", 0); int offsetX = XML::getProperty(frameNode, "offsetX", 0); int offsetY = XML::getProperty(frameNode, "offsetY", 0); - offsetY -= imageSet->getHeight() - 32; - offsetX -= imageSet->getWidth() / 2 - 16; if (xmlStrEqual(frameNode->name, BAD_CAST "frame")) { -- cgit v1.2.3-70-g09d2