summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 20:38:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 20:38:16 +0000
commit575c8b8ccde247ae48ba7bf84c9931034e9eab48 (patch)
tree0028059fe9fc37ff28a771e7c5e3e240b5d94e58 /src
parentce59424ec0b207d8d3f27ef88e433c0f24647418 (diff)
downloadhercules-575c8b8ccde247ae48ba7bf84c9931034e9eab48.tar.gz
hercules-575c8b8ccde247ae48ba7bf84c9931034e9eab48.tar.bz2
hercules-575c8b8ccde247ae48ba7bf84c9931034e9eab48.tar.xz
hercules-575c8b8ccde247ae48ba7bf84c9931034e9eab48.zip
- Fixed clif.c dumping unknown packets by default... (oops, used an #ifdef where an #if had to go)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9335 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c2
-rw-r--r--src/map/mob.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 097dd3c77..be3309aa3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11968,7 +11968,7 @@ int clif_parse(int fd) {
) //Only execute the function when there's an sd (except for debug/wanttoconnect packets)
packet_db[packet_ver][cmd].func(fd, sd);
}
-#ifdef DUMP_UNKNOWN_PACKET
+#if DUMP_UNKNOWN_PACKET
else if (battle_config.error_log)
{
int i;
diff --git a/src/map/mob.c b/src/map/mob.c
index 4772d5b60..927c180a6 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -843,7 +843,7 @@ static int mob_ai_sub_hard_changechase(struct block_list *bl,va_list ap)
return 0;
if(battle_check_range (&md->bl, bl, md->status.rhw.range))
- {
+ {
(*target) = bl;
md->target_id=bl->id;
md->min_chase= md->db->range3;