summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 14:49:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 14:49:55 +0000
commitd38ebf04d586987812b1c92d919bcac7e2f99d2e (patch)
tree26b1796f8ffba759dfd7dfcd7205a98f5df2b6b9 /src/map/map.c
parenta22a322ce7be85620c1156c542e7b15761fe2f34 (diff)
downloadhercules-d38ebf04d586987812b1c92d919bcac7e2f99d2e.tar.gz
hercules-d38ebf04d586987812b1c92d919bcac7e2f99d2e.tar.bz2
hercules-d38ebf04d586987812b1c92d919bcac7e2f99d2e.tar.xz
hercules-d38ebf04d586987812b1c92d919bcac7e2f99d2e.zip
- The check that blocks the skill AL_TELEPORT on noteleport maps will be overriden when you use Flywings/Butterfly wings, so B Wings are usable again in noteleport maps.
- Removed a fd check in foreachinmovearea, which explains why autotraders sometimes were invisible to people who walked within sight of them - Corrected the ignore list sorting function to account for entries with no names so they are sent to the end, not the beginning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9311 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 5e4ea6b9e..8d596b394 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -961,12 +961,8 @@ int map_foreachinmovearea(int (*func)(struct block_list*,va_list),int m,int x0,i
map_freeblock_lock(); // メモリからの解放を禁止する
for(i=blockcount;i<bl_list_count;i++)
- if(bl_list[i]->prev) { // 有?かどうかチェック
- if (bl_list[i]->type == BL_PC
- && ((TBL_PC*) bl_list[i])->fd == 0)
- continue;
+ if(bl_list[i]->prev)
returnCount += func(bl_list[i],ap);
- }
map_freeblock_unlock(); // 解放を許可する