summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 13:51:30 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 13:51:30 +0000
commit46ad2a8a7ec3cbad577ec5f83b37afc21f657c01 (patch)
tree55a3673bb5297130115f66157118a22e1aad2f1f /src/map/skill.c
parentd0f02711b3eb7e510169a0a66dcbf584f88912a5 (diff)
downloadhercules-46ad2a8a7ec3cbad577ec5f83b37afc21f657c01.tar.gz
hercules-46ad2a8a7ec3cbad577ec5f83b37afc21f657c01.tar.bz2
hercules-46ad2a8a7ec3cbad577ec5f83b37afc21f657c01.tar.xz
hercules-46ad2a8a7ec3cbad577ec5f83b37afc21f657c01.zip
vending bugfix for bugreport:947
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15188 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d675c12df..40d57f229 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5178,8 +5178,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
{ //Prevent vending of GMs with unnecessary Level to trade/drop. [Skotlex]
if ( !pc_can_give_items(pc_isGM(sd)) )
clif_skill_fail(sd,skillid,0,0);
- else
+ else {
+ sd->state.prevend = 1;
clif_openvendingreq(sd,2+skilllv);
+ }
}
break;