Clean up many other coordinates

This commit is contained in:
Gymnasiast committed 2020-03-13 12:03:43 +01:00
1 parent 3412c47a9e
commit bdf681f440
32 files changed
+132 -172

No files matched your search

+1 -1
View File
@@ -634,7 +634,7 @@ void AutoCreateMapAnimations()
while (tile_element_iterator_next(&it))
{
auto el = it.element;
auto loc = CoordsXYZ{ it.x * 32, it.y * 32, el->GetBaseZ() };
auto loc = CoordsXYZ{ TileCoordsXY(it.x, it.y).ToCoordsXY(), el->GetBaseZ() };
switch (el->GetType())
{
case TILE_ELEMENT_TYPE_BANNER: