summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-18 02:18:40 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-18 02:18:40 +0000
commitba450a6e6856b2e2cf3f3590a43907f0d80f1d17 (patch)
treeb218fdbc19396ff5980a9eb27be7734742e61e4b /src/map/mob.c
parent237951bb0f15b09622d0a9cf1a248f1e38123d50 (diff)
downloadhercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.gz
hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.bz2
hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.xz
hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.zip
* Dead branches no longer check for players' level. (bugreport:3378)
* The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13952 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 e6fa8d2fd..9e319eb42 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;