diff options
author | shennetsind <ind@henn.et> | 2013-05-04 17:22:57 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-04 17:22:57 -0300 |
commit | 18b1965ce16909613f0a53515d40553742082ce2 (patch) | |
tree | c17d031f20d140f289113a5e632eb551961ad475 /src/map/map.h | |
parent | ad9a13be6ef115de1d5e124283a1d63a0bc5cd4d (diff) | |
download | hercules-18b1965ce16909613f0a53515d40553742082ce2.tar.gz hercules-18b1965ce16909613f0a53515d40553742082ce2.tar.bz2 hercules-18b1965ce16909613f0a53515d40553742082ce2.tar.xz hercules-18b1965ce16909613f0a53515d40553742082ce2.zip |
mapindex update
Fixed a mapindex_name2id problem that'd persistently not fix a broken mapindex data (e.g. char save/last map data being incorrect). It'll now align it to MAP_DEFAULT when such error occurs.
Also speeded up mapindex_name2id queries, replaced the loop by the red-black-tree db lookup.
Special Thanks to yommy~!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.h')
0 files changed, 0 insertions, 0 deletions