diff options
author | Haru <haru@dotalux.com> | 2015-08-11 01:47:15 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-15 00:51:44 +0200 |
commit | 22bd368e5d4d8d61a7189d03f52c3afd90c0729e (patch) | |
tree | b8617bdfe901c41ff006d160b5bbceadb52f7bfb /src/map/status.c | |
parent | bbf42063d78e393c2fc7a74b105aca6fb6357414 (diff) | |
download | hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.gz hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.bz2 hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.tar.xz hercules-22bd368e5d4d8d61a7189d03f52c3afd90c0729e.zip |
Added core HPM interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index dc99c1f95..4fc975268 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -12302,7 +12302,7 @@ int status_readdb(void) // initialize databases to default // - if( runflag == MAPSERVER_ST_RUNNING ) {//not necessary during boot + if( core->runflag == MAPSERVER_ST_RUNNING ) {//not necessary during boot // reset job_db.conf data memset(status->dbs->max_weight_base, 0, sizeof(status->dbs->max_weight_base)); memset(status->dbs->HP_table, 0, sizeof(status->dbs->HP_table)); |