Applied some fixes to the binary reader/writer classes

This commit is contained in:
Aruki
2017-07-02 02:12:01 -06:00
parent c6e6ccaa89
commit 5a398423e1
6 changed files with 127 additions and 69 deletions

View File

@@ -243,8 +243,7 @@ u64 CMaterial::HashParameters()
{
if (mRecalcHash)
{
CHashFNV1A Hash;
Hash.Init64();
CHashFNV1A Hash(CHashFNV1A::e64Bit);
Hash.HashLong(mVersion);
Hash.HashLong(mOptions);