parent
dbd0ae8f22
commit
8d405d60d9
|
@ -230,8 +230,8 @@ void TerragenImporter::InternReadFile(const std::string &pFile,
|
|||
}
|
||||
|
||||
// Get to the next chunk (4 byte aligned)
|
||||
unsigned dtt = reader.GetCurrentPos();
|
||||
if (dtt & 0x3) {
|
||||
unsigned dtt = reader.GetCurrentPos() & 0x3;
|
||||
if (dtt) {
|
||||
reader.IncPtr(4 - dtt);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue