diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-18 10:36:09 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-18 10:36:09 +0000 |
commit | ad3c28295537a5d942809ca07cae49bc350c45ab (patch) | |
tree | 36ca2554405b41fcb8d279d85e1efe7ad76923ab /src/char_sql/char.c | |
parent | 16ef82dd78c2facf754e911fbaab1e5f279c50d4 (diff) | |
download | hercules-ad3c28295537a5d942809ca07cae49bc350c45ab.tar.gz hercules-ad3c28295537a5d942809ca07cae49bc350c45ab.tar.bz2 hercules-ad3c28295537a5d942809ca07cae49bc350c45ab.tar.xz hercules-ad3c28295537a5d942809ca07cae49bc350c45ab.zip |
* Replaced jA's way of allocating npc shop data with a simple dynamic array that gets allocated during loading and freed on unload
- automatically fixes bugreport:404, which would otherwise require manipulating the npcname_db (the original author didn't, hence the bug)
- now a supporting variable 'count' is used for tracking the length instead of an extra dummy entry at the end of the shop list
- partially removed the MAX_SHOPITEM restriction (if this was written properly, the system could support an unlimited amount of entries)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11753 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
0 files changed, 0 insertions, 0 deletions