diff options
author | Skotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-19 15:46:55 +0000 |
---|---|---|
committer | Skotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-19 15:46:55 +0000 |
commit | af7c783667e77887131d186f51fb60f7dc31b87c (patch) | |
tree | 7b9be10c508ee9a1fcfea8e661fa376b0ff8a8f3 /src/map/battle.c | |
parent | fe89d7ef6e558134e58c95ddcbbe9f4f362c4119 (diff) | |
download | hercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.gz hercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.bz2 hercules-af7c783667e77887131d186f51fb60f7dc31b87c.tar.xz hercules-af7c783667e77887131d186f51fb60f7dc31b87c.zip |
- Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used for proper deletion of items as well as movement/spawn packets for Renewal clients.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 12f16f83d..064ac3a7c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -897,7 +897,7 @@ void battle_consume_ammo(TBL_PC*sd, int skill, int lv) } if(sd->equip_index[EQI_AMMO]>=0) //Qty check should have been done in skill_check_condition - pc_delitem(sd,sd->equip_index[EQI_AMMO],qty,0); + pc_delitem(sd,sd->equip_index[EQI_AMMO],qty,0,1); sd->state.arrow_atk = 0; } |