1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-03 10:11:34 +00:00

Use proper type for Record::recType

This commit is contained in:
elsid 2022-02-11 21:52:00 +01:00
parent 283b68025c
commit e1fe501013
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 3 additions and 1 deletions

View file

@ -149,7 +149,7 @@ enum RecordType
struct Record
{
// Record type and type name
int recType{RC_MISSING};
RecordType recType{RC_MISSING};
std::string recName;
unsigned int recIndex{~0u};

View file

@ -2122,6 +2122,8 @@ namespace NifOsg
specStrength = shaderprop->mSpecStrength;
break;
}
default:
break;
}
}