diff options
author | Haru <haru@dotalux.com> | 2018-07-24 19:55:01 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-07-26 01:12:19 +0200 |
commit | 148f1131248a6c605c2b9875b6f742db01554c47 (patch) | |
tree | 224630e55dee3927292f644f440ffdd304a8b0a0 /src/map/chat.c | |
parent | 40f015d43eb87a6680b4ce53b1ca88c0dec641e3 (diff) | |
download | hercules-148f1131248a6c605c2b9875b6f742db01554c47.tar.gz hercules-148f1131248a6c605c2b9875b6f742db01554c47.tar.bz2 hercules-148f1131248a6c605c2b9875b6f742db01554c47.tar.xz hercules-148f1131248a6c605c2b9875b6f742db01554c47.zip |
Fix an issue that causes skill cooldowns to get stuck indefinitely
A cooldown timer could expire before the associated character's data
gets added to the ID/PC DB, causing skill_blockpc_end() to be unable to
find and clear the cooldown data.
This commit moves the cooldown loading function to a safe place, after
the character data is initialized and added to the DB.
Fixes #1535
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/chat.c')
0 files changed, 0 insertions, 0 deletions