mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Jacob Lundgren
cfe33e6b6e
3117: Fix crash after AI revisits teleporter
** Behavioral change: Fix AI heroes sometimes attempting to probe teleport exits using data from a previously processed hero, causing nullptr dereferences. VCAI::moveHeroToTile has special case logic for revisiting tiles. This logic could cause teleport exits to be stored in teleportChannelProbingList, without the list subsequently being cleared. If the processing of that hero ended immediately after that, the next hero would believe that the list is accurate for them and attempt to teleport while not standing on a teleporter.
VCMI Project
VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities.
Links
- Homepage: https://vcmi.eu/
- Wiki: https://wiki.vcmi.eu/
- Forums: https://forum.vcmi.eu/
- Bugtracker: https://bugs.vcmi.eu/
- Slack: https://slack.vcmi.eu/
Installation guides
To use VCMI you need to own original data files.
Building from source
Platform support is constantly tested by continuous integration and CMake configuration adjusted to generate nice looking projects for all major IDE. Following guides will help you to setup build environment with no effort:
Copyright and license
VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: [https://github.com/vcmi/vcmi-assets]
Copyright (C) 2007-2020 VCMI Team (check AUTHORS file for the contributors list)
Languages
C++
69.9%
JSON-with-Comments
24.7%
Java
1.7%
C
1.6%
CMake
1.5%
Other
0.5%