summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-31 15:36:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-31 21:56:05 +0300
commit3a54cf61c4ea127a16ca11c515906a5f419b97df (patch)
tree7b330747d4357c95791f578eeda0356c8649e614 /src/resources/beinginfo.cpp
parent741630d53aa385f192edb40ac27b00844285eac8 (diff)
downloadmanaplus-3a54cf61c4ea127a16ca11c515906a5f419b97df.tar.gz
manaplus-3a54cf61c4ea127a16ca11c515906a5f419b97df.tar.bz2
manaplus-3a54cf61c4ea127a16ca11c515906a5f419b97df.tar.xz
manaplus-3a54cf61c4ea127a16ca11c515906a5f419b97df.zip
Add default avatars support for npcs.
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index c5c36b209..905d28921 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -48,7 +48,8 @@ BeingInfo::BeingInfo() :
mStaticMaxHP(false),
mTargetSelection(true),
mSortOffsetY(0),
- mDeadSortOffsetY(31)
+ mDeadSortOffsetY(31),
+ mAvatarId(0)
{
SpriteDisplay display;
display.sprites.push_back(SpriteReference::Empty);