summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-18 21:28:39 +0800
committerJedzkie <jedzkie13@rocketmail.com>2017-04-20 18:10:30 +0800
commitce66b7e6369c95923858c48711b1022644a87f90 (patch)
tree237e4c6cf66d03bb78931da51de9d86f21a8a821 /src/map/battle.c
parent5802b22439441be1914ae9024d6ce06d51c0210f (diff)
downloadhercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.gz
hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.bz2
hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.xz
hercules-ce66b7e6369c95923858c48711b1022644a87f90.zip
Made prevent_logout effect on log-in optional
kRO does not prevent players from logging out after connecting to its zone servers. Credits to @secretdataz of rAthena
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 63252caf7..fdea849fb 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7333,6 +7333,7 @@ static const struct battle_data {
{ "max_summoner_parameter", &battle_config.max_summoner_parameter, 120, 10, 10000, },
{ "mvp_exp_reward_message", &battle_config.mvp_exp_reward_message, 0, 0, 1, },
{ "monster_eye_range_bonus", &battle_config.mob_eye_range_bonus, 0, 0, 10, },
+ { "prevent_logout_trigger", &battle_config.prevent_logout_trigger, 0xE, 0, 0xF, }
};
#ifndef STATS_OPT_OUT
/**