summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-10-29 23:22:50 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-10-29 23:22:50 +0000
commite843caa669a5cd42194c4f013374a1d651ce3a31 (patch)
tree5889b9317f91b7ab16509e439c449a1cc74982b9 /src/being.cpp
parentd8c5a6029a325a1c21431b5836e44e4510898973 (diff)
downloadmana-e843caa669a5cd42194c4f013374a1d651ce3a31.tar.gz
mana-e843caa669a5cd42194c4f013374a1d651ce3a31.tar.bz2
mana-e843caa669a5cd42194c4f013374a1d651ce3a31.tar.xz
mana-e843caa669a5cd42194c4f013374a1d651ce3a31.zip
Properly initialize sprite vector.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index e7b27f43..dd0554cc 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -61,10 +61,10 @@ Being::Being(Uint32 id, Uint16 job, Map *map):
mSex(2),
mSpeechTime(0),
mDamageTime(0),
- mShowSpeech(false), mShowDamage(false)
+ mShowSpeech(false), mShowDamage(false),
+ mSprites(VECTOREND_SPRITE, NULL)
{
setMap(map);
- mSprites.resize(VECTOREND_SPRITE, NULL);
}
Being::~Being()