From e016f73d67d8da12fcc52b95a8c0f4b7ed752928 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sat, 5 Aug 2006 02:40:40 +0000 Subject: - Fixed a compile warning. - Added a commented piece of code in clif_parse_LoadEndAck which will update your direction to wherever you were facing before warping. Should this be the default? Nearby people DO see you facing on the same direction before warping, it's only yourself that will always see you facing north on spawn. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8143 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index e1a9a3ff3..736ec637d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -251,7 +251,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i sc = status_get_sc(bl); - if(flag&(BF_MAGIC|BF_LONG) == BF_LONG && + if((flag&(BF_MAGIC|BF_LONG)) == BF_LONG && map_getcell(bl->m, bl->x, bl->y, CELL_CHKPNEUMA) && skill_num != NPC_GUIDEDATTACK) return 0; -- cgit v1.2.3-60-g2f50