summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-25 15:43:48 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-25 15:43:48 +0000
commit6bd2b81c4f1b71fcbc7d0a34d0c617b5251a4f04 (patch)
tree06deda066b55ec24e23ee5be03e8a7c2251ceb48 /src/map/battle.c
parentb2f9f553b6631d2efcad3acbc051ef88e1f3832a (diff)
downloadhercules-6bd2b81c4f1b71fcbc7d0a34d0c617b5251a4f04.tar.gz
hercules-6bd2b81c4f1b71fcbc7d0a34d0c617b5251a4f04.tar.bz2
hercules-6bd2b81c4f1b71fcbc7d0a34d0c617b5251a4f04.tar.xz
hercules-6bd2b81c4f1b71fcbc7d0a34d0c617b5251a4f04.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@991 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index ce691158c..a11facfc9 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5622,7 +5622,7 @@ void battle_set_defaults() {
battle_config.ban_spoof_namer = 5; // added by [Yor] (default: 5 minutes)
battle_config.hack_info_GM_level = 60; // added by [Yor] (default: 60, GM level)
battle_config.any_warp_GM_min_level = 20; // added by [Yor]
- battle_config.packet_ver_flag = 127; // added by [Yor]
+ battle_config.packet_ver_flag = 255; // added by [Yor]
battle_config.min_hair_style = 0;
battle_config.max_hair_style = 20;
battle_config.min_hair_color = 0;
@@ -5760,8 +5760,8 @@ void battle_validate_conf() {
battle_config.any_warp_GM_min_level = 100;
// at least 1 client must be accepted
- if ((battle_config.packet_ver_flag & 127) == 0) // added by [Yor]
- battle_config.packet_ver_flag = 127; // accept all clients
+ if ((battle_config.packet_ver_flag & 255) == 0) // added by [Yor]
+ battle_config.packet_ver_flag = 255; // accept all clients
if (battle_config.night_darkness_level > 10) // Celest
battle_config.night_darkness_level = 10;