diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-17 03:53:39 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-17 03:53:39 +0000 |
commit | 38d8812da5dece3e5f17f0669258708cc74fb933 (patch) | |
tree | 7059646f595a8e9cc58c2515516032d6aa15305d /src/map | |
parent | 84785ca7132b08ff5bb6568a3e62a96c58df7ef4 (diff) | |
download | hercules-38d8812da5dece3e5f17f0669258708cc74fb933.tar.gz hercules-38d8812da5dece3e5f17f0669258708cc74fb933.tar.bz2 hercules-38d8812da5dece3e5f17f0669258708cc74fb933.tar.xz hercules-38d8812da5dece3e5f17f0669258708cc74fb933.zip |
- Fixed crash in AL_TELEPORT.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5305 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 31249aa1e..04b13b82e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4327,7 +4327,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case AL_TELEPORT: /* テレポ?ト */
if(sd) {
- if (map[sd->bl.m].flag.noteleport) { /* テレポ禁止 */
+ if (map[bl->m].flag.noteleport) { /* テレポ禁止 */
clif_skill_teleportmessage(sd,0);
break;
}
@@ -4351,7 +4351,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in pc_setpos(sd,sd->status.save_point.map,
sd->status.save_point.x,sd->status.save_point.y,3);
}
- } else if(dstmd && !map[sd->bl.m].flag.monster_noteleport)
+ } else if(dstmd && !map[bl->m].flag.monster_noteleport)
mob_warp(dstmd,-1,-1,-1,3);
break;
|