From 8921a3023de5519f0e0af164d71023914c8656f3 Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 10 Sep 2007 20:50:55 +0000 Subject: * Added a safeguard to skill_get_unit_layout() against incorrectly defined layout ids (will give weird results but won't crash at least) * Fixed Firewall/Icewall being oriented backwards (no real difference though...) * Removed some junk Landprotector/Graffiti code; Graffiti doesn't get placed randomly anymore * Icewall can now be cast on yourself... but for some reason, the cell on yourself immediately expires! * Merged together functions clif_set0192() and clif_changemapcell() - also removed its "send to whole map" mode which is just plain wrong (although aegis actually does use it to 'inform' caster about changes) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11175 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 42a22d120..fcb1a58ac 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2150,8 +2150,8 @@ int map_calc_dir(struct block_list* src, int x, int y) dy = y-src->y; if( dx == 0 && dy == 0 ) { // both are standing on the same spot - //dir = 6; // aegis-style, causes knockback to the left - dir = unit_getdir(src); // athena-style, causes knockback opposite to src's current direction + //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 -- cgit v1.2.3-60-g2f50