1
0
Fork 0

Another COpyPaste Error

Fixes CID 70461
This commit is contained in:
worktycho 2014-07-13 15:29:43 +01:00
parent bfc485bfe2
commit 64697f0cab
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ void cChunkDesc::ReadBlockArea(cBlockArea & a_Dest, int a_MinRelX, int a_MaxRelX
LOGWARNING("%s: MaxRelZ less than zero, adjusting to zero", __FUNCTION__);
a_MaxRelZ = 0;
}
else if (a_MinRelZ >= cChunkDef::Width)
else if (a_MaxRelZ >= cChunkDef::Width)
{
LOGWARNING("%s: MaxRelZ more than chunk width, adjusting to chunk width", __FUNCTION__);
a_MaxRelZ = cChunkDef::Width - 1;