1
0
Fork 0

Codechange: simplify ToTileIndexDiff by just calling TileDiffXY

pull/13007/head
Rubidium 2024-10-18 16:13:51 +02:00
parent 53ed29bd04
commit 9bc668fda5
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ debug_inline static uint TileY(TileIndex tile)
*/
inline TileIndexDiff ToTileIndexDiff(TileIndexDiffC tidc)
{
return (tidc.y << Map::LogX()) + tidc.x;
return TileDiffXY(tidc.x, tidc.y);
}