From ad0dfc94fb7cd3c2f4099821b4b49153165a579f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 21 Feb 2015 19:09:58 +0300 Subject: Add battle config option check_occupied_cells. If set check_occupied_cells to 0 it will allow walk to occupied cells And it heavy reduce CPU usage on walking. --- src/map/battle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index f5357f94a..b2ee9cf1d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6728,6 +6728,7 @@ static const struct battle_data { { "official_cell_stack_limit", &battle_config.official_cell_stack_limit, 1, 0, 255, }, { "custom_cell_stack_limit", &battle_config.custom_cell_stack_limit, 1, 1, 255, }, { "dancing_weaponswitch_fix", &battle_config.dancing_weaponswitch_fix, 1, 0, 1, }, + { "check_occupied_cells", &battle_config.check_occupied_cells, 1, 0, 1, }, // eAthena additions { "item_logarithmic_drops", &battle_config.logarithmic_drops, 0, 0, 1, }, -- cgit v1.2.3-60-g2f50