summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-04-11 01:55:42 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-04-11 06:37:06 +0200
commite9405ec89bb07ce21bb3f91f895268f37709d79d (patch)
treeb1eb9e202c830c62a256b814cc4fb9b87c988781
parent523d261c9f2c233f259a742677094a57d61deba6 (diff)
downloadhercules-e9405ec89bb07ce21bb3f91f895268f37709d79d.tar.gz
hercules-e9405ec89bb07ce21bb3f91f895268f37709d79d.tar.bz2
hercules-e9405ec89bb07ce21bb3f91f895268f37709d79d.tar.xz
hercules-e9405ec89bb07ce21bb3f91f895268f37709d79d.zip
Remove warning message for missing element in monster, since it is an optional field
-rw-r--r--src/map/mob.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 51a32abd9..b8743dfba 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -5012,12 +5012,10 @@ static int mob_read_db_sub(struct config_setting_t *mobt, int n, const char *sou
md.status.def_ele = i32;
md.status.ele_lv = value;
} else if (!inherit) {
- ShowWarning("mob_read_db_sub: Missing element for monster ID %d.\n", md.mob_id);
md.status.def_ele = ELE_NEUTRAL;
md.status.ele_lv = 1;
}
} else if (!inherit) {
- ShowWarning("mob_read_db_sub: Missing element for monster ID %d.\n", md.mob_id);
md.status.def_ele = ELE_NEUTRAL;
md.status.ele_lv = 1;
}