summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-05-10 21:13:10 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-05-10 21:13:10 -0300
commit52a58b5a82cea7210efffc88f14706973bb1dfa3 (patch)
tree093619b18b8288cbd419b8e1258b7b70f0bd4e01 /src/map/battle.c
parentfa24fdb97db2aca73d94bb584835e9e864c8d085 (diff)
downloadhercules-52a58b5a82cea7210efffc88f14706973bb1dfa3.tar.gz
hercules-52a58b5a82cea7210efffc88f14706973bb1dfa3.tar.bz2
hercules-52a58b5a82cea7210efffc88f14706973bb1dfa3.tar.xz
hercules-52a58b5a82cea7210efffc88f14706973bb1dfa3.zip
* Implemented suggestion in topic:528, related to GMs being able to warp to non-walkable cells; also added configuration.
* Few changes to gitignore and gitattributes. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
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 02b88eff6..e16f2ece2 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5934,6 +5934,7 @@ static const struct _battle_data {
{ "item_restricted_consumption_type", &battle_config.item_restricted_consumption_type,1, 0, 1, },
{ "max_walk_path", &battle_config.max_walk_path, 17, 1, MAX_WALKPATH, },
{ "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, 1, },
+ { "gm_ignore_warpable_area", &battle_config.gm_ignore_warpable_area, 0, 2, 100, },
};
#ifndef STATS_OPT_OUT
/**