From 4ca054f01983eaf5cfca204897eb43a7f9472d2a Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 4 Jan 2008 13:00:49 +0000 Subject: Fixed a mistake in r11991 that let knockback work through walls git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12010 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/path.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 6b55051bd..c30f7990b 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2008/01/04 + * Fixed a mistake in r11991 that let knockback work through walls * Modified the map_setcell() code to to use a boolean flag instead of needing SET_ / CLR_ pairs of defines (topic:174323) [ultramage]. Also removed script object 'setcell', added script function 'setcell' diff --git a/src/map/path.c b/src/map/path.c index 3316f9657..e2e3ae44b 100644 --- a/src/map/path.c +++ b/src/map/path.c @@ -180,9 +180,9 @@ int path_blownpos(int m,int x0,int y0,int dx,int dy,int count) else dy=0; } - else if( !fx ) + if( !fx ) dx=0; - else if( !fy ) + if( !fy ) dy=0; } -- cgit v1.2.3-70-g09d2