1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/AI
Maxim Korotkov f874d27797 AI: removed redundant checks
The pointers "up" and "down" were checked against nullptr
but it's always non-null
Also added curly braces for if statement. It's good practice
for avoiding shooting yourself to the foot

Signed-off-by: Maxim Korotkov <korotkov.maxim.s@gmail.com>
2023-09-27 09:05:58 +03:00
..
BattleAI Fix build 2023-09-06 16:03:47 +03:00
EmptyAI Fixed most common cases of movement actions 2023-09-16 20:07:26 +03:00
FuzzyLite@7aee562d6c vcmi: new commits in submodules 2023-04-27 20:59:55 +03:00
Nullkiller AI: removed redundant checks 2023-09-27 09:05:58 +03:00
StupidAI Client-side support for multiple battles 2023-09-06 16:03:47 +03:00
VCAI Added initiator-player to packs that add/remove/move objects 2023-09-19 19:24:34 +03:00
CMakeLists.txt enable StupidAI and EmptyAI for static AI 2023-03-02 12:09:49 +03:00
FuzzyLite.cbp [C::B] Switch to MinGW 7.3 2019-02-19 14:59:10 +03:00
GeniusAI.brain