summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-29 09:01:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-29 09:01:36 +0000
commit0fa0cec38f5739d11dff696ca74f1486884061e2 (patch)
tree07ca894720e023ff64baf03d06f6f89b638c138f /src/map/mob.c
parent93c52deb53c4a163e69aeed5fb2af4dba66842c2 (diff)
downloadhercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.gz
hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.bz2
hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.xz
hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.zip
- Some small bug fixes discovered while merging.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7961 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
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);