summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-06 03:54:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-06 03:54:00 +0300
commit4fb8f9f0905038f3180f108ec56b2a326ceb3483 (patch)
tree94b221f6bc81e07d565d2828dac078f471854b81 /src/resources/iteminfo.cpp
parentdf9a705c331da29cb0582539a817f68c79d4f267 (diff)
downloadplus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.gz
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.bz2
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.tar.xz
plus-4fb8f9f0905038f3180f108ec56b2a326ceb3483.zip
Add particle effect miss-effect-id to items and monsters.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 7e106af80..c7d8ecc0e 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -81,8 +81,9 @@ ItemInfo::ItemInfo() :
mMissileParticle(""),
mColors(nullptr),
mColorList(""),
- mHitEffectId(0),
- mCriticalHitEffectId(0),
+ mHitEffectId(-1),
+ mCriticalHitEffectId(-1),
+ mMissEffectId(-1),
maxFloorOffset(32)
{
for (int f = 0; f < 10; f ++)