fix null deref in VersionInfo

This commit is contained in:
Jeffrey Crowell 2022-06-20 15:14:12 -04:00
parent dadd0c7152
commit 4febaa32fa
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ std::map<Ship::ResourceType, uint32_t> resourceVersions;
void InitVersionInfo()
{
resourceVersions = {
resourceVersions = std::map<Ship::ResourceType, uint32_t> {
{ Ship::ResourceType::Animation, 0 },
{ Ship::ResourceType::Model, 0 },
{ Ship::ResourceType::Texture, 0 },
@ -24,4 +24,4 @@ void InitVersionInfo()
{ Ship::ResourceType::Text, 0 },
{ Ship::ResourceType::Blob, 0 },
};
}
}