- Fixed clif.c dumping unknown packets by default... (oops, used an #ifdef where an #if had to go)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9335 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-11-27 20:38:16 +00:00
parent fbb36710c3
commit 436a8a53cb
2 changed files with 2 additions and 2 deletions

View File

@ -11968,7 +11968,7 @@ int clif_parse(int fd) {
) //Only execute the function when there's an sd (except for debug/wanttoconnect packets) ) //Only execute the function when there's an sd (except for debug/wanttoconnect packets)
packet_db[packet_ver][cmd].func(fd, sd); packet_db[packet_ver][cmd].func(fd, sd);
} }
#ifdef DUMP_UNKNOWN_PACKET #if DUMP_UNKNOWN_PACKET
else if (battle_config.error_log) else if (battle_config.error_log)
{ {
int i; int i;

View File

@ -843,7 +843,7 @@ static int mob_ai_sub_hard_changechase(struct block_list *bl,va_list ap)
return 0; return 0;
if(battle_check_range (&md->bl, bl, md->status.rhw.range)) if(battle_check_range (&md->bl, bl, md->status.rhw.range))
{ {
(*target) = bl; (*target) = bl;
md->target_id=bl->id; md->target_id=bl->id;
md->min_chase= md->db->range3; md->min_chase= md->db->range3;