diff options
author | KingPin <none@none> | 2008-11-06 08:20:26 -0600 |
---|---|---|
committer | KingPin <none@none> | 2008-11-06 08:20:26 -0600 |
commit | 5746d0e98d8a5c4af96102835d501c47ed370def (patch) | |
tree | a17851f0bc08626df74b690df53f28754e9e89fe /contrib/extractor/libmpq/mpq.h | |
parent | c74f9b4a685a899091dc7cb1b5db5c494ed12b9a (diff) |
[svn] * Avoid access to bag item prototype for getting bag size, use related item
update field instead as more fast source. source mangos.
* Further reduce of DB access in guild handlers.
* Multi-locale DBC extracting - source Foks
*** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits..
--HG--
branch : trunk
Diffstat (limited to 'contrib/extractor/libmpq/mpq.h')
-rw-r--r-- | contrib/extractor/libmpq/mpq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/extractor/libmpq/mpq.h b/contrib/extractor/libmpq/mpq.h index 0a136f95f30..55b72ad75a9 100644 --- a/contrib/extractor/libmpq/mpq.h +++ b/contrib/extractor/libmpq/mpq.h @@ -198,7 +198,7 @@ extern int libmpq_archive_open(mpq_archive *mpq_a, unsigned char *mpq_filename); extern int libmpq_archive_close(mpq_archive *mpq_a); extern int libmpq_archive_info(mpq_archive *mpq_a, unsigned int infotype); //extern int libmpq_file_extract(mpq_archive *mpq_a, const int number); -extern int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const int number); +extern int libmpq_file_info(mpq_archive *mpq_a, unsigned int infotype, const unsigned int number); extern char *libmpq_file_name(mpq_archive *mpq_a, const int number); extern int libmpq_file_number(mpq_archive *mpq_a, const char *name); extern int libmpq_file_check(mpq_archive *mpq_a, void *file, int type); |