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. --- conf/battle/misc.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf/battle/misc.conf') diff --git a/conf/battle/misc.conf b/conf/battle/misc.conf index b9aaa2356..7d797d2eb 100644 --- a/conf/battle/misc.conf +++ b/conf/battle/misc.conf @@ -90,6 +90,10 @@ duel_only_on_same_map: no official_cell_stack_limit: 1 custom_cell_stack_limit: 1 +// If 0 while walking not check occupied cells +// If 1 while walking check occupied cells +check_occupied_cells: 1 + // Allow autotrade only in map with autotrade flag? // Set this to "no" will allow autotrade where no "autotrade" mapflag is set // Set this to "yes" to only allow autotrade on maps with "autotrade" mapflag -- cgit v1.2.3-70-g09d2