summaryrefslogtreecommitdiff
path: root/src/map/path.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:51:25 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 20:51:25 +0000
commit462883b7cb02a2f229d0c53afd179163725d50de (patch)
tree977bd95af592ab70b87a37342da5873ca8251d1f /src/map/path.c
parent3bb42dda4732f3288155725bd26da76822c10021 (diff)
downloadhercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.gz
hercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.bz2
hercules-462883b7cb02a2f229d0c53afd179163725d50de.tar.xz
hercules-462883b7cb02a2f229d0c53afd179163725d50de.zip
Removed battle_config.error_log as console_silent already handles this
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/path.c')
-rw-r--r--src/map/path.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/path.c b/src/map/path.c
index 48b62755a..50c2f2192 100644
--- a/src/map/path.c
+++ b/src/map/path.c
@@ -206,13 +206,11 @@ int path_blownpos(int m,int x0,int y0,int dx,int dy,int count)
md = &map[m];
if( count>25 ){ //Cap to prevent too much processing...?
- if( battle_config.error_log )
- ShowWarning("path_blownpos: count too many %d !\n",count);
+ ShowWarning("path_blownpos: count too many %d !\n",count);
count=25;
}
if( dx > 1 || dx < -1 || dy > 1 || dy < -1 ){
- if( battle_config.error_log )
- ShowError("path_blownpos: illeagal dx=%d or dy=%d !\n",dx,dy);
+ ShowError("path_blownpos: illegal dx=%d or dy=%d !\n",dx,dy);
dx=(dx>0)?1:((dx<0)?-1:0);
dy=(dy>0)?1:((dy<0)?-1:0);
}