cast -1 to unsigned for comparison
This commit is contained in:
parent
a922f748e7
commit
2cd9ae6833
|
@ -108,7 +108,7 @@ CDirectoryFolder *CBSPFile::CreateRoot()
|
||||||
// Loop through each texture in the BSP file.
|
// Loop through each texture in the BSP file.
|
||||||
for(hlUInt i = 0; i < this->pTextureHeader->uiTextureCount; i++)
|
for(hlUInt i = 0; i < this->pTextureHeader->uiTextureCount; i++)
|
||||||
{
|
{
|
||||||
if(this->pTextureHeader->lpOffsets[i] == -1)
|
if(this->pTextureHeader->lpOffsets[i] == (hlUInt)-1)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue