diff options
author | shennetsind <ind@henn.et> | 2013-04-25 09:52:42 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-25 09:52:42 -0300 |
commit | 47d5b323e868184cea1fdcff5d0c3f2717c83564 (patch) | |
tree | b641f6e6daa27df923ed07c214807db1336acb92 /src/map | |
parent | 2df7ce406e3af72859da37f38f4d5d296c3c1461 (diff) | |
download | hercules-47d5b323e868184cea1fdcff5d0c3f2717c83564.tar.gz hercules-47d5b323e868184cea1fdcff5d0c3f2717c83564.tar.bz2 hercules-47d5b323e868184cea1fdcff5d0c3f2717c83564.tar.xz hercules-47d5b323e868184cea1fdcff5d0c3f2717c83564.zip |
Fixed Bug #7188
http://hercules.ws/board/tracker/issue-7188-delitem-script-command-failed
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index c847179df..6cc235ad1 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6540,11 +6540,11 @@ static bool buildin_delitem_search(struct map_session_data* sd, struct item* it, if( amount ) {// not enough items - return true; + return false; } else if( delete_items ) {// we are done with the work - return false; + return true; } else {// get rid of the items now |