diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-22 19:14:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-22 19:14:42 +0000 |
commit | 1f9c70b90fa41a531dd1dfbd386c3b576d770e97 (patch) | |
tree | d8e3f198e67500d1a7bbf56e4825e34adc1fe692 /src/map/itemdb.c | |
parent | e828c8642a637a3e3f63450b75ebc93f2bd4bce4 (diff) | |
download | hercules-1f9c70b90fa41a531dd1dfbd386c3b576d770e97.tar.gz hercules-1f9c70b90fa41a531dd1dfbd386c3b576d770e97.tar.bz2 hercules-1f9c70b90fa41a531dd1dfbd386c3b576d770e97.tar.xz hercules-1f9c70b90fa41a531dd1dfbd386c3b576d770e97.zip |
- Removed the include of features.h from the console.c plugin. It is apparently not needed (and it was preventing compilation on FreeBSD)
- Fixed bug which totally broke item group bonuses.
- Added warnings when setting a pvp/gvg flag removes the other flags on the same map (gvg and pvp can't coexist on the same map)
- Optimized the unequip loop when changing sex.
- Removed the check that prevented you from casting soul-collect when you already have 5 spirits.
- Corrected Magic Rod so it doesn't displays any skill-use animation until it triggers.
- Debuff on logout&2 is again set to default, instead of removing food bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
- Corrected Steel Body's icon (it actually belongs to AutoBerserk)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10317 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index e6dc8d9c3..f872d386e 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -109,7 +109,7 @@ int itemdb_group_bonus(const int itemgrouphealrate[MAX_ITEMGROUP], int itemid) { int bonus = 0, i, j; for (i=0; i < MAX_ITEMGROUP; i++) { - if (itemgrouphealrate[i]) + if (!itemgrouphealrate[i]) continue; for (j=0; j < itemgroup_db[i].qty; j++) { if (itemgroup_db[i].nameid[j] == itemid) |