Fixes terrain index type (causing a warning) introduced in 1e1ce27eba
.
This was SVN commit r23807.
This commit is contained in:
parent
a7da40ac2f
commit
365dbd91fc
@ -649,7 +649,7 @@ void CTerrain::ResizeAndOffset(ssize_t size, ssize_t horizontalOffset, ssize_t v
|
||||
// Now build new patches. The same process as for the heightmap.
|
||||
for (ssize_t j = 0; j < depth; ++j)
|
||||
{
|
||||
for (size_t i = 0; i < width; ++i)
|
||||
for (ssize_t i = 0; i < width; ++i)
|
||||
{
|
||||
const CPatch& src =
|
||||
m_Patches[(sourceUpperLeftZ + j) * m_MapSizePatches + sourceUpperLeftX + i];
|
||||
|
Loading…
Reference in New Issue
Block a user