summaryrefslogtreecommitdiff
path: root/src/map/mob.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-05-01 19:36:15 +0200
committerHaru <haru@dotalux.com>2018-05-01 19:36:15 +0200
commit5c9ae7b9559438654265e3dd9afd26f30d499fcc (patch)
tree2d842a87ecc950eec2c0223e7dcbde97acfe0a27 /src/map/mob.h
parent3f6e0922d66d7ffc6a655fbd4e8bc59736e844fb (diff)
downloadhercules-5c9ae7b9559438654265e3dd9afd26f30d499fcc.tar.gz
hercules-5c9ae7b9559438654265e3dd9afd26f30d499fcc.tar.bz2
hercules-5c9ae7b9559438654265e3dd9afd26f30d499fcc.tar.xz
hercules-5c9ae7b9559438654265e3dd9afd26f30d499fcc.zip
Replace "--ja--" and "--en--" with constants (source only)
- Use `DEFAULT_MOB_NAME` instead of a literal "--en--" - Use `DEFAULT_MOB_JNAME` instead of a literal "--ja--" Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/mob.h')
-rw-r--r--src/map/mob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index c4469c2fa..0f760ce8b 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -60,6 +60,9 @@ struct hplugin_data_store;
#define MAX_MOB_CHAT 250 //Max Skill's messages
+#define DEFAULT_MOB_NAME "--en--"
+#define DEFAULT_MOB_JNAME "--ja--"
+
// On official servers, monsters will only seek targets that are closer to walk to than their
// search range. The search range is affected depending on if the monster is walking or not.
// On some maps there can be a quite long path for just walking two cells in a direction and