Renamed FTextureManager::GetTexture to GetTextureID

It doesn't return a texture after all and I want to repurpose the name for something else.
This commit is contained in:
Christoph Oelckers 2018-12-07 02:31:30 +01:00
commit 9fedecbe60
13 changed files with 31 additions and 25 deletions

View file

@ -1545,7 +1545,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FTextureID &value, FTe
assert(nameval.IsString() && typeval.IsInt());
if (nameval.IsString() && typeval.IsInt())
{
value = TexMan.GetTexture(UnicodeToString(nameval.GetString()), static_cast<ETextureType>(typeval.GetInt()));
value = TexMan.GetTextureID(UnicodeToString(nameval.GetString()), static_cast<ETextureType>(typeval.GetInt()));
}
else
{