summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-11 20:58:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-11 20:58:45 +0000
commitc2b7dcd9bc11cd6d68e535202281121dbed4966d (patch)
tree0c7e934b0b5531e4a86e83f131e5db73ab047403 /src/map/mob.c
parenta3cd04965d83f00ee9ca0020f60bea1f5c83ac6b (diff)
downloadhercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.gz
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.bz2
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.tar.xz
hercules-c2b7dcd9bc11cd6d68e535202281121dbed4966d.zip
- NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively) of 40% per level.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6558 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 d5c9da304..ca0690049 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -289,7 +289,7 @@ int mob_once_spawn (struct map_session_data *sd, char *mapname,
if (x <= 0 || y <= 0) {
if (sd)
- map_search_freecell(&sd->bl, 0, &x, &y, 1, 1, 0);
+ map_search_freecell(&sd->bl, m, &x, &y, 1, 1, 0);
else
if (!map_search_freecell(NULL, m, &x, &y, -1, -1, 1))
return 0; //Not solved?