summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-18 21:44:52 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-18 21:44:52 +0000
commit26a4e327cf0797fc8922a5b45b07ded3206edc7e (patch)
treebfa50b53d1b6edb95f61aaa2a2e223199c4effce /src/map/mob.c
parent2916a789ab7aac20df1c061ad69a8aaf6ea3c2c3 (diff)
downloadhercules-26a4e327cf0797fc8922a5b45b07ded3206edc7e.tar.gz
hercules-26a4e327cf0797fc8922a5b45b07ded3206edc7e.tar.bz2
hercules-26a4e327cf0797fc8922a5b45b07ded3206edc7e.tar.xz
hercules-26a4e327cf0797fc8922a5b45b07ded3206edc7e.zip
- Fixed the config description for 'random_monster_checklv' (follow up to r13952). (bugreport:3378)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13954 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 9e319eb42..e6fa8d2fd 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -411,7 +411,7 @@ int mob_once_spawn(struct map_session_data* sd, int m, short x, short y, const c
for (count = 0; count < amount; count++)
{
- int c = ( class_ >= 0 ) ? class_ : mob_get_random_id(-class_-1, !battle_config.random_monster_checklv?3:1, lv);
+ int c = ( class_ >= 0 ) ? class_ : mob_get_random_id(-class_-1, battle_config.random_monster_checklv?3:1, lv);
md = mob_once_spawn_sub(sd?&sd->bl:NULL, m, x, y, mobname, c, event);
if (!md) continue;