1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/AI/Nullkiller
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
..
Analyzers Fix typo 2023-09-23 04:33:08 +02:00
Behaviors Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
Engine Add include path of a more recent version of fuzzylite, which is required to build it with gcc 12.2.0 2023-09-16 05:13:16 +00:00
Goals Converted remaining identifier to new system 2023-08-25 13:38:02 +03:00
Helpers Another build fix 2023-07-31 22:01:11 +03:00
Markers Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
Pathfinding Fix NKAI compilation with NKAI_PATHFINDER_TRACE_LEVEL>=2 2023-09-04 10:08:56 +03:00
AIGateway.cpp AI: removed redundant checks 2023-09-27 09:05:58 +03:00
AIGateway.h Added initiator-player to packs that add/remove/move objects 2023-09-19 19:24:34 +03:00
AIUtility.cpp Converted several namespace enums to enum class 2023-08-25 13:38:02 +03:00
AIUtility.h Converted several namespace enums to enum class 2023-08-25 13:38:02 +03:00
CMakeLists.txt Fuzzy rework, added more defence and gather army routines 2023-07-31 22:01:10 +03:00
main.cpp NKAI: namespace 2022-10-04 08:40:14 +03:00
StdInc.cpp Nullkiller: copy VCAI 2021-07-26 21:02:50 +03:00
StdInc.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00