Mercurial > might-and-magic-trilogy
diff LOD.cpp @ 108:d543bd89a31e
6.11.12
author | Ritor1 |
---|---|
date | Tue, 06 Nov 2012 10:06:45 +0600 |
parents | a84fb3752681 |
children | 430786d916d6 |
line wrap: on
line diff
--- a/LOD.cpp Mon Nov 05 09:16:17 2012 +0600 +++ b/LOD.cpp Tue Nov 06 10:06:45 2012 +0600 @@ -1518,7 +1518,7 @@ v13 = v12; if ( v12 ) { - fwrite(&v1->header, 0x100u, 1u, v12); + fwrite(&v1->header, 0x100u, 1, v12); LOD::Directory v0; // [sp+20Ch] [bp-28h]@11 //LOD::Directory::LOD::Directory(&v0); @@ -1530,7 +1530,7 @@ v0.word_00001E = 0; v0.uDataSize = v21; v0.uNumSubIndices = LOWORD(v1->uNumSubIndices); - fwrite(&v0, 0x20u, 1u, v13); + fwrite(&v0, 0x20, 1, v13); fwrite(v1->pSubIndices, 0x20u, v1->uNumSubIndices, v13); v16 = v1->pOutputFileHandle; v22 = v2; @@ -2043,8 +2043,8 @@ void LOD::FileHeader::Reset() { this->pSignature[0] = 0; - this->array_000004[0] = 0; - this->array_000054[0] = 0; + this->LodVersion[0] = 0; + this->LodDescription[0] = 0; this->dword_0000A4 = 0; this->dword_0000A8 = 0; this->uNumIndices = 0;