diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-29 19:55:47 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-29 19:55:47 +0000 |
commit | 166cb92fc2767eb8bb77b96062281d07df630561 (patch) | |
tree | 7d5d681e7527d254ad3da7f9e450b4fef1066924 /db | |
parent | 49a385c135d3012abb08e1ddc6a301c89f0e3a54 (diff) | |
download | hercules-166cb92fc2767eb8bb77b96062281d07df630561.tar.gz hercules-166cb92fc2767eb8bb77b96062281d07df630561.tar.bz2 hercules-166cb92fc2767eb8bb77b96062281d07df630561.tar.xz hercules-166cb92fc2767eb8bb77b96062281d07df630561.zip |
* Resolved issues with item delay system.
- Fixed random crashes caused by map_session_data corruption due to out-of-bounds access to item_delay array (bugreport:4568, since r14455).
- Fixed item delay database not being compatible with @reloaditemdb. Item delays are now reset upon reloading, much like a restart would do (bugreport:4589).
- Fixed trailing commented lines in db/item_delay.txt could cause 'too many entries' error to be displayed.
- Fixed last entity of a cash food item not being recognized as cash food, thus not receiving use delay, due to access to deleted inventory slot (since r14426).
- These changes also fix a warning regarding variable 'i' in pc_useitem being potentionally uninitialized (bugreport:4559).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db')
-rw-r--r-- | db/item_delay.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/db/item_delay.txt b/db/item_delay.txt index 716d60ebc..a0b1389bd 100644 --- a/db/item_delay.txt +++ b/db/item_delay.txt @@ -1,6 +1,5 @@ // Item Delay Database // Max number of entries is defined in itemdb.h as MAX_ITEMDELAYS -// WARNING: Adding/removing/modifying entries here and then using @reloaditemdb will cause problems/inconsistencies! // // Structure: // Item ID,Delay in Milliseconds |