diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-21 19:09:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-23 23:36:19 +0300 |
commit | ad0dfc94fb7cd3c2f4099821b4b49153165a579f (patch) | |
tree | d86261dd02bd434166f8ebf23511926b7d84deeb /src/map/battle.h | |
parent | 4e681ce12a3f9574c33dc1e11ca8665e8f04e8a0 (diff) | |
download | hercules-ad0dfc94fb7cd3c2f4099821b4b49153165a579f.tar.gz hercules-ad0dfc94fb7cd3c2f4099821b4b49153165a579f.tar.bz2 hercules-ad0dfc94fb7cd3c2f4099821b4b49153165a579f.tar.xz hercules-ad0dfc94fb7cd3c2f4099821b4b49153165a579f.zip |
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.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index ddd98ec69..233c325cf 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -384,6 +384,7 @@ struct Battle_Config { int skill_wall_check; // [Skotlex] int official_cell_stack_limit; // [Playtester] int custom_cell_stack_limit; // [Skotlex] + int check_occupied_cells; // [4144] int skill_caster_check; // [Skotlex] int sc_castcancel; // [Skotlex] int pc_sc_def_rate; // [Skotlex] |