diff options
author | Ibrahim Zidan <brahem@aotsw.com> | 2019-09-18 16:25:35 +0200 |
---|---|---|
committer | Ibrahim Zidan <brahem@aotsw.com> | 2019-09-19 17:51:43 +0200 |
commit | e22d44e708d37923dcb57fd382e38b12bbc10a75 (patch) | |
tree | e15200b67e1538f3b36c28e1987fda7389d8b50a /src/map/guild.h | |
parent | 6dbabae7003990369d1c9ce965c3c4409c879499 (diff) | |
download | hercules-e22d44e708d37923dcb57fd382e38b12bbc10a75.tar.gz hercules-e22d44e708d37923dcb57fd382e38b12bbc10a75.tar.bz2 hercules-e22d44e708d37923dcb57fd382e38b12bbc10a75.tar.xz hercules-e22d44e708d37923dcb57fd382e38b12bbc10a75.zip |
Rewrite of itemdb_searchname_array and itemdb_searchname_array_sub
Rewrote item name checks in both functions to be more readable
Changed flag to be enum item_name_search_flag and made itemdb_searchname_array_sub respect flag given to parent function
Corrected item count returned by parent function when dbmap search is performed
Fixed a memory violation caused by the old code when dbmap search is performed
Fixed dbmap searching having static array size which did not adhire to the size passed to the function
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'src/map/guild.h')
0 files changed, 0 insertions, 0 deletions