Skip to content

Commit

Permalink
Minor VoxelID type fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
afritz1 committed Nov 26, 2024
1 parent f5f3d0c commit 95fdf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenTESArena/src/World/ArenaLevelUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ int ArenaLevelUtils::getMap2Height(BufferView2D<const ArenaTypes::VoxelID> map2)
{
for (WEInt x = 0; x < map2.getWidth(); x++)
{
const uint16_t map2Voxel = map2.get(x, z);
const ArenaTypes::VoxelID map2Voxel = map2.get(x, z);
const int map2Height = ArenaLevelUtils::getMap2VoxelHeight(map2Voxel);
currentMap2Height = std::max(currentMap2Height, map2Height);
}
Expand Down

0 comments on commit 95fdf0b

Please sign in to comment.