diff options
author | shennetsind <ind@henn.et> | 2014-02-10 13:59:24 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-10 13:59:24 -0200 |
commit | cd8d09337ba3108f46acbb5cfcd6a99ddb4b321e (patch) | |
tree | 70e501ba613ef8d4586c5f6c4be7424f3e953198 /src/map/mob.c | |
parent | 9ca281d0a03ea083c4dba20de9d109d581a5ee4f (diff) | |
parent | ac45ebca3e9537eca665ba042412ddc1e65e9f73 (diff) | |
download | hercules-cd8d09337ba3108f46acbb5cfcd6a99ddb4b321e.tar.gz hercules-cd8d09337ba3108f46acbb5cfcd6a99ddb4b321e.tar.bz2 hercules-cd8d09337ba3108f46acbb5cfcd6a99ddb4b321e.tar.xz hercules-cd8d09337ba3108f46acbb5cfcd6a99ddb4b321e.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index dab7b99ac..dc83be93e 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3962,10 +3962,16 @@ int mob_read_sqldb(void) { void mob_name_constants(void) { int i; +#ifdef ENABLE_CASE_CHECK + script->parser_current_file = "Mob Database (Likely an invalid or conflicting SpriteName)"; +#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); } +#ifdef ENABLE_CASE_CHECK + script->parser_current_file = NULL; +#endif // ENABLE_CASE_CHECK } /*========================================== |