1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-05 15:05:40 +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
..
2023-09-23 04:33:08 +02:00
2023-07-31 22:01:11 +03:00
2023-09-27 09:05:58 +03:00
2022-10-04 08:40:14 +03:00
2021-07-26 21:02:50 +03:00