diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-16 23:26:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-17 01:10:09 +0300 |
commit | 46dd47b2652d0928bc414b12685a89effe41e9ef (patch) | |
tree | 3bacd592cf08ff3eab1a3fae41688e8f4410047f /src/resources/beinginfo.cpp | |
parent | 5a3724fea17bb1d1059207eb6c1d1e18dac20aa3 (diff) | |
download | mv-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.gz mv-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.bz2 mv-46dd47b2652d0928bc414b12685a89effe41e9ef.tar.xz mv-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.cpp | 8 |
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); |