diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 20:09:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 23:35:07 +0300 |
commit | 796f7e2c2ace55462acfa50e5085d4d048047e68 (patch) | |
tree | 878c6f36f001774047cc26fa7fb68f474920bbf0 /src/resources/iteminfo.cpp | |
parent | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff) | |
download | mv-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.cpp | 3 |
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 ++) { |