summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 20:09:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 23:35:07 +0300
commit796f7e2c2ace55462acfa50e5085d4d048047e68 (patch)
tree878c6f36f001774047cc26fa7fb68f474920bbf0 /src/resources/iteminfo.cpp
parent6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff)
downloadmv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.gz
mv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.bz2
mv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.xz
mv-796f7e2c2ace55462acfa50e5085d4d048047e68.zip
add basic client side only support for pets.
now pets cant move and dont have any ai. pet can be only spawn at player position if equiped item with assigned pet.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 325528d60..92df520ea 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -54,7 +54,8 @@ ItemInfo::ItemInfo() :
mCriticalHitEffectId(-1),
mMissEffectId(-1),
maxFloorOffset(32),
- mPickupCursor(Cursor::CURSOR_POINTER)
+ mPickupCursor(Cursor::CURSOR_POINTER),
+ mPet(0)
{
for (int f = 0; f < 10; f ++)
{