diff options
-rw-r--r-- | doc/script_commands.txt | 2 | ||||
-rw-r--r-- | src/map/script.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index e69cca6b1..54d62b045 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5290,8 +5290,6 @@ It is always a good idea to check if the player actually has the item you want before you use this command. If you try to delete in a position that the player has no gear, script will be terminated with an error. -This command will return 1 if an item was deleted and 0 otherwise. - --------------------------------------- //===================================== 4.1 - End of Player Item-Related Commands diff --git a/src/map/script.c b/src/map/script.c index 1a6289db3..401cb0757 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7994,7 +7994,6 @@ 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); return true; } |