summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-08-10 17:30:55 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-08-10 17:30:55 +0200
commitbd34793889e7d49e6650f831e036c0855b56b9fa (patch)
tree49eaeff3bd5ae7bc1d0ba0f5db04be545e2925a5 /src/map/map.c
parent3089a7d2d2dc655fb955b90ec152c0ba569bd4e2 (diff)
downloadhercules-bd34793889e7d49e6650f831e036c0855b56b9fa.tar.gz
hercules-bd34793889e7d49e6650f831e036c0855b56b9fa.tar.bz2
hercules-bd34793889e7d49e6650f831e036c0855b56b9fa.tar.xz
hercules-bd34793889e7d49e6650f831e036c0855b56b9fa.zip
- Fix makes knockback default to the left
- Fix Back Sliding should not have animation
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 62d1aad75..b26d50fc9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2414,8 +2414,8 @@ uint8 map_calc_dir(struct block_list* src, int16 x, int16 y)
dy = y-src->y;
if( dx == 0 && dy == 0 )
{ // both are standing on the same spot
- //dir = 6; // aegis-style, makes knockback default to the left
- dir = unit->getdir(src); // athena-style, makes knockback default to behind 'src'
+ dir = 6; // aegis-style, makes knockback default to the left
+ //dir = unit->getdir(src); // athena-style, makes knockback default to behind 'src'
}
else if( dx >= 0 && dy >=0 )
{ // upper-right