summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c2
-rw-r--r--src/map/clif.c3
2 files changed, 4 insertions, 1 deletions
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;
diff --git a/src/map/clif.c b/src/map/clif.c
index de66fbdcf..31be94733 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8368,6 +8368,9 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
// If player is dead, and is spawned (such as @refresh) send death packet. [Valaris]
if(pc_isdead(sd))
clif_clearchar_area(&sd->bl,1);
+// Uncomment if you want to make player face in the same direction he was facing right before warping. [Skotlex]
+// else
+// clif_changed_dir(&sd->bl, SELF);
}
/*==========================================