summaryrefslogtreecommitdiff
path: root/src/resources/avatardb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/avatardb.cpp')
-rw-r--r--src/resources/avatardb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/avatardb.cpp b/src/resources/avatardb.cpp
index e18eff5c2..39b1184fb 100644
--- a/src/resources/avatardb.cpp
+++ b/src/resources/avatardb.cpp
@@ -73,6 +73,11 @@ void AvatarDB::load()
currentInfo->setTargetOffsetY(XML::getProperty(avatarNode,
"targetOffsetY", 0));
+ currentInfo->setWidth(XML::getProperty(avatarNode,
+ "width", 0));
+ currentInfo->setHeight(XML::getProperty(avatarNode,
+ "height", 0));
+
SpriteDisplay display;
// iterate <sprite>s and <sound>s