From 0fa0cec38f5739d11dff696ca74f1486884061e2 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 29 Jul 2006 09:01:36 +0000 Subject: - Some small bug fixes discovered while merging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7961 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 7eed36758..6a72df011 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3894,12 +3894,12 @@ static int mob_read_sqldb(void) status->ele_lv = i/20; if (status->def_ele >= ELE_MAX) { - ShowWarning("Mob with ID: %d has invalid element type %d (max element is %d)\n", status->def_ele, ELE_MAX-1); + ShowWarning("Mob with ID: %d has invalid element type %d (max element is %d)\n", class_, status->def_ele, ELE_MAX-1); status->def_ele = ELE_NEUTRAL; } if (status->ele_lv < 1 || status->ele_lv > 4) { - ShowWarning("Mob with ID: %d has invalid elemnt level %d (max is 4)\n", status->ele_lv); + ShowWarning("Mob with ID: %d has invalid elemnt level %d (max is 4)\n", class_, status->ele_lv); status->ele_lv = 1; } status->mode = TO_INT(25); -- cgit v1.2.3-60-g2f50