diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-01 12:29:38 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-01 12:29:38 +0000 |
commit | 9b89cabf520e19557b7b003ab8160f76027c9242 (patch) | |
tree | c3fc2937e71c5256379ed8dee75aff1850c49805 /src/map/script.c | |
parent | 2fd87c062a72a6a17fccdaa822086221baae0e15 (diff) | |
download | hercules-9b89cabf520e19557b7b003ab8160f76027c9242.tar.gz hercules-9b89cabf520e19557b7b003ab8160f76027c9242.tar.bz2 hercules-9b89cabf520e19557b7b003ab8160f76027c9242.tar.xz hercules-9b89cabf520e19557b7b003ab8160f76027c9242.zip |
Fixed bugreport:5984 rental items exploit which allowed a rental item from never being deleted when used alongside storage has been fixed, blame on r14958
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16361 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index 4b2cedea4..a1bc94bc4 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6102,9 +6102,6 @@ BUILDIN_FUNC(rentitem) clif_additem(sd, 0, 0, flag); return 1; } - - clif_rental_time(sd->fd, nameid, seconds); - pc_inventory_rental_add(sd, seconds); return 0; } |