summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-10 20:50:55 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-10 20:50:55 +0000
commit8921a3023de5519f0e0af164d71023914c8656f3 (patch)
tree20ac266e3da2e1482954b9895e3c5389ab2927e8 /src/map/map.c
parentc62e4ce22fe01f8f355f8f47695da2c977102c1c (diff)
downloadhercules-8921a3023de5519f0e0af164d71023914c8656f3.tar.gz
hercules-8921a3023de5519f0e0af164d71023914c8656f3.tar.bz2
hercules-8921a3023de5519f0e0af164d71023914c8656f3.tar.xz
hercules-8921a3023de5519f0e0af164d71023914c8656f3.zip
* 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
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 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