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 /src/map/script.c | |
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 'src/map/script.c')
0 files changed, 0 insertions, 0 deletions