summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-07-06 22:16:06 -0700
committerBen Longbons <b.r.longbons@gmail.com>2012-07-06 22:16:06 -0700
commit75e3dc137ae4916a47cdd748fd10cd4ed9c438b3 (patch)
tree0048507fe5bf0f5f83acab439515154391a9d7ff /src/map/battle.c
parent0b8e004a6b70834d1bcb913c704cc83071defa40 (diff)
downloadtmwa-75e3dc137ae4916a47cdd748fd10cd4ed9c438b3.tar.gz
tmwa-75e3dc137ae4916a47cdd748fd10cd4ed9c438b3.tar.bz2
tmwa-75e3dc137ae4916a47cdd748fd10cd4ed9c438b3.tar.xz
tmwa-75e3dc137ae4916a47cdd748fd10cd4ed9c438b3.zip
Make mob splash range configurable
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6edf996..5e87b07 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5654,6 +5654,8 @@ int battle_config_read (const char *cfgName)
battle_config.packet_spam_kick = 1;
battle_config.mask_ip_gms = 1;
+
+ battle_config.mob_splash_radius = -1;
}
fp = fopen_ (cfgName, "r");
@@ -6106,7 +6108,9 @@ int battle_config_read (const char *cfgName)
{
"packet_spam_kick", &battle_config.packet_spam_kick},
{
- "mask_ip_gms", &battle_config.mask_ip_gms}
+ "mask_ip_gms", &battle_config.mask_ip_gms},
+ {
+ "mob_splash_radius", &battle_config.mob_splash_radius},
};
if (line[0] == '/' && line[1] == '/')