clean all warnings for vs-2019

This commit is contained in:
Kim Kulling
2020-03-08 21:24:01 +01:00
parent 920535165d
commit e8d2b84017
55 changed files with 9135 additions and 9009 deletions

View File

@@ -258,9 +258,10 @@ void TerragenImporter::InternReadFile( const std::string& pFile,
}
// Get to the next chunk (4 byte aligned)
unsigned dtt;
if ((dtt = reader.GetCurrentPos() & 0x3))
reader.IncPtr(4-dtt);
unsigned dtt = reader.GetCurrentPos();
if (dtt & 0x3) {
reader.IncPtr(4 - dtt);
}
}
// Check whether we have a mesh now