diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index c57b086f4..aea4d978f 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7969,6 +7969,9 @@ BUILDIN(delequip) if(i >= 0) { pc->unequipitem(sd,i,3); //recalculate bonus pc->delitem(sd,i,1,0,2,LOG_TYPE_SCRIPT); + script_pushint(st,1); + } else { + script_pushint(st,0); } return true; |