diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-08 12:49:19 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-08 12:49:19 +0000 |
commit | ed8b7da35e01181455c0ec3c3a30650967713b84 (patch) | |
tree | 3f26d1178f23d360b803ebe1e9e8810f53f303ac /src/map | |
parent | 58176f95739622fc2ed08d1ebdd7e6e9b98f6a98 (diff) | |
download | hercules-ed8b7da35e01181455c0ec3c3a30650967713b84.tar.gz hercules-ed8b7da35e01181455c0ec3c3a30650967713b84.tar.bz2 hercules-ed8b7da35e01181455c0ec3c3a30650967713b84.tar.xz hercules-ed8b7da35e01181455c0ec3c3a30650967713b84.zip |
Full revert of r12402, could be the cause of mob respawn problems (followup to r12512)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12534 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/mob.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index b62006d0b..3c5beca7b 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -946,13 +946,6 @@ int mob_spawn (struct mob_data *md) md->bl.x = md->spawn->x; md->bl.y = md->spawn->y; - if( map[md->spawn->m].users == 0 && md->spawn->state.dynamic ) - {// cache the mob instead of spawning it - //FIXME: deleting 'md' is a potentially dangerous operation - unit_free(&md->bl,0); - return 0; - } - if ((md->bl.x == 0 && md->bl.y == 0) || md->spawn->xs || md->spawn->ys) { //Monster can be spawned on an area. if (!map_search_freecell(&md->bl, -1, |