Fix #10524: Banners not placeable above certain height (#10528)

This commit is contained in:
Tulio Leao 2020-01-06 12:10:38 -03:00 committed by Duncan
parent 09bb3b0ae5
commit c470d84210
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public:
return MakeResult(GA_ERROR::NOT_OWNED, STR_CANT_POSITION_THIS_HERE, STR_LAND_NOT_OWNED_BY_PARK);
}
uint8_t baseHeight = _loc.z + PATH_HEIGHT_STEP;
auto baseHeight = _loc.z + PATH_HEIGHT_STEP;
BannerElement* existingBannerElement = map_get_banner_element_at({ _loc.x, _loc.y, baseHeight }, _loc.direction);
if (existingBannerElement != nullptr)
{