1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Heroes placed on water in map will be automatically given boat

This commit is contained in:
Ivan Savenko
2023-06-19 22:01:18 +03:00
parent 738ace99cb
commit 3913b8e98c
21 changed files with 77 additions and 52 deletions

View File

@@ -1294,11 +1294,6 @@ CGBoat::CGBoat()
layer = EPathfindingLayer::EEPathfindingLayer::SAIL;
}
void CGBoat::initObj(CRandomGenerator & rand)
{
hero = nullptr;
}
int3 CGBoat::translatePos(const int3& pos, bool reverse /* = false */)
{
//pos - offset we want to place the boat at the map