Another compilation fix

This commit is contained in:
Wojtek Figat
2025-01-14 23:26:26 +01:00
parent be8686bbb2
commit d0a6edbb2c
5 changed files with 28 additions and 30 deletions

View File

@@ -404,7 +404,7 @@ bool Model::SaveHeader(WriteStream& stream)
{
if (ModelBase::SaveHeader(stream))
return true;
static_assert(HeaderVersion == 2, "Update code");
static_assert(MODEL_HEADER_VERSION == 2, "Update code");
// LODs
stream.Write((byte)LODs.Count());
@@ -431,7 +431,7 @@ bool Model::SaveHeader(WriteStream& stream, const ModelData& modelData)
{
if (ModelBase::SaveHeader(stream, modelData))
return true;
static_assert(HeaderVersion == 2, "Update code");
static_assert(MODEL_HEADER_VERSION == 2, "Update code");
// LODs
stream.Write((byte)modelData.LODs.Count());