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:
parent
a63b084d31
commit
09d466269d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user