1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

boat offsets for shipyards are counted from visitable position

This commit is contained in:
Ivan Savenko
2023-06-20 22:38:47 +03:00
parent 6a08a96d0c
commit caccd58eb0
4 changed files with 25 additions and 10 deletions

View File

@@ -585,7 +585,7 @@ bool CGTownInstance::passableFor(PlayerColor color) const
void CGTownInstance::getOutOffsets( std::vector<int3> &offsets ) const
{
offsets = {int3(-1,2,0), int3(-3,2,0)};
offsets = {int3(-1,2,0), int3(+1,2,0)};
}
CGTownInstance::EGeneratorState CGTownInstance::shipyardStatus() const