1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

Avoid overwriting generic textures with splashes

This commit is contained in:
Filip Gawin 2019-04-12 20:23:15 +02:00
parent a63b084d31
commit 09d466269d

View File

@ -710,7 +710,7 @@ void GameData::loadSplash(const std::string& name) {
std::string lower(name);
std::transform(lower.begin(), lower.end(), lower.begin(), ::tolower);
textureSlots["generic"] = loadTextureArchive(lower + ".txd");
textureSlots[lower + ".txd"] = loadTextureArchive(lower + ".txd");
engine->state->currentSplash = lower;
}