summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-10 02:33:15 +0100
committerHaru <haru@dotalux.com>2016-01-13 11:24:33 +0100
commit6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a (patch)
tree0eb4176eaa21e8d0e0d0eb36309d70aacfa49de2 /src/map/mob.c
parenta8154726935b2d6a2273b75126a675e6e706edab (diff)
downloadhercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.gz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.bz2
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.tar.xz
hercules-6ae9045b3bbbad10f9b0f2a824e12eb470fcfa5a.zip
Added support to mark constants in db/constants.conf as deprecated
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 2d94d78e3..f93a7fef3 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4316,7 +4316,7 @@ void mob_name_constants(void) {
#endif // ENABLE_CASE_CHECK
for (i = 0; i < MAX_MOB_DB; i++) {
if (mob->db_data[i] && !mob->is_clone(i))
- script->set_constant2(mob->db_data[i]->sprite, i, 0);
+ script->set_constant2(mob->db_data[i]->sprite, i, false, false);
}
#ifdef ENABLE_CASE_CHECK
script->parser_current_file = NULL;