summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-16 23:26:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-17 01:10:09 +0300
commit46dd47b2652d0928bc414b12685a89effe41e9ef (patch)
tree3bacd592cf08ff3eab1a3fae41688e8f4410047f /src/resources/beinginfo.cpp
parent5a3724fea17bb1d1059207eb6c1d1e18dac20aa3 (diff)
downloadManaVerse-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.gz
ManaVerse-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.bz2
ManaVerse-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.xz
ManaVerse-46dd47b2652d0928bc414b12685a89effe41e9ef.zip
improve npcdialog class.
allow set avatar size in avatars.xml.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 914a00d1a..b1d6c1d0c 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -49,11 +49,13 @@ BeingInfo::BeingInfo() :
mTargetOffsetX(0),
mTargetOffsetY(0),
mMaxHP(0),
- mStaticMaxHP(false),
- mTargetSelection(true),
mSortOffsetY(0),
mDeadSortOffsetY(31),
- mAvatarId(0)
+ mAvatarId(0),
+ mWidth(0),
+ mHeight(0),
+ mStaticMaxHP(false),
+ mTargetSelection(true)
{
SpriteDisplay display;
display.sprites.push_back(SpriteReference::Empty);