From 30c8d7704026aa450b64997c2996ee8d9d4f2cec Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 19 Nov 2009 18:19:09 +0000 Subject: - Applied the renewal client support patch from Diablo (eA forum topic 222623) - Added support for strcharinfo(3) to retrieve the player's map - Added script command "searchitem" for name item searches. - Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now - Changed the status valX from int to long so that it won't break for pointer-storage in other architectures. - Moved the change party leader code to party.c - A few bugfixes or packet field completions based on my past experience messing around with my server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index adf87c367..dd70de892 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3345,7 +3345,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f else return -1; } - else if( flag == BCT_NOONE ) //Why would someone use this? no clue. + if( flag == BCT_NOONE ) //Why would someone use this? no clue. return -1; if( t_bl == s_bl ) @@ -3730,7 +3730,7 @@ static const struct _battle_data { { "hack_info_GM_level", &battle_config.hack_info_GM_level, 60, 0, 100, }, { "any_warp_GM_min_level", &battle_config.any_warp_GM_min_level, 20, 0, 100, }, { "who_display_aid", &battle_config.who_display_aid, 40, 0, 100, }, - { "packet_ver_flag", &battle_config.packet_ver_flag, 0xFFFF, 0x0000, 0xFFFF, }, + { "packet_ver_flag", &battle_config.packet_ver_flag, 0xFFFFFF,0x0000,INT_MAX, }, { "min_hair_style", &battle_config.min_hair_style, 0, 0, INT_MAX, }, { "max_hair_style", &battle_config.max_hair_style, 23, 0, INT_MAX, }, { "min_hair_color", &battle_config.min_hair_color, 0, 0, INT_MAX, }, -- cgit v1.2.3-70-g09d2