diff options
author | panikon <panikon@zoho.com> | 2014-05-08 12:43:13 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-05-08 12:43:13 -0300 |
commit | 4432b105a48e03c57096a0ef57cd41771f03923a (patch) | |
tree | 8c8b495be809ea8a34b1dbe3e98e47cca58530ce | |
parent | 474fda9f64e26ba114033bbdf409486aecab00ac (diff) | |
download | hercules-4432b105a48e03c57096a0ef57cd41771f03923a.tar.gz hercules-4432b105a48e03c57096a0ef57cd41771f03923a.tar.bz2 hercules-4432b105a48e03c57096a0ef57cd41771f03923a.tar.xz hercules-4432b105a48e03c57096a0ef57cd41771f03923a.zip |
Changed warning labels for itemdb_read_cached_packages, they were stating other function which could be misleading when debugging without a debugger.
-rw-r--r-- | src/map/itemdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 76183d0ec..1bbe87a20 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -818,7 +818,7 @@ bool itemdb_read_cached_packages(const char *config_filename) { hread(&random_qty,sizeof(random_qty),1,file); if( !(pdata = itemdb->exists(id)) ) - ShowWarning("itemdb_read_packages: unknown package item '%d', skipping..\n",id); + ShowWarning("itemdb_read_cached_packages: unknown package item '%d', skipping..\n",id); else pdata->package = &itemdb->packages[i]; @@ -848,7 +848,7 @@ bool itemdb_read_cached_packages(const char *config_filename) { hread(&named,sizeof(announce),1,file); if( !(data = itemdb->exists(mid)) ) - ShowWarning("itemdb_read_packages: unknown item '%d' in package '%s'!\n",mid,itemdb_name(package->id)); + ShowWarning("itemdb_read_cached_packages: unknown item '%d' in package '%s'!\n",mid,itemdb_name(package->id)); entry->id = data ? data->nameid : 0; entry->hours = hours; @@ -893,7 +893,7 @@ bool itemdb_read_cached_packages(const char *config_filename) { hread(&named,sizeof(announce),1,file); if( !(data = itemdb->exists(mid)) ) - ShowWarning("itemdb_read_packages: unknown item '%d' in package '%s'!\n",mid,itemdb_name(package->id)); + ShowWarning("itemdb_read_cached_packages: unknown item '%d' in package '%s'!\n",mid,itemdb_name(package->id)); entry->id = data ? data->nameid : 0; entry->rate = rate; |