summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-11-02 18:43:59 +0200
committerAndrei Karas <akaras@inbox.ru>2010-11-02 18:43:59 +0200
commitaa529734e30e3fc9542f95780b0d5346ddd29eaf (patch)
tree3610fcd1ab067ab0138b6090c9bee1495cd871c2 /src/being.cpp
parentf97e5ee9c22cccfb27a3634e814ad9b01edc3195 (diff)
downloadmana-aa529734e30e3fc9542f95780b0d5346ddd29eaf.tar.gz
mana-aa529734e30e3fc9542f95780b0d5346ddd29eaf.tar.bz2
mana-aa529734e30e3fc9542f95780b0d5346ddd29eaf.tar.xz
mana-aa529734e30e3fc9542f95780b0d5346ddd29eaf.zip
Add missing variable initialisation in Being.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 0492727c..585e7352 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -97,7 +97,8 @@ Being::Being(int id, Type type, int subtype, Map *map):
mIsGM(false),
mType(type),
mX(0), mY(0),
- mDamageTaken(0)
+ mDamageTaken(0),
+ mIp(0)
{
setMap(map);
setSubtype(subtype);