Undo accidental screwup of some HiresTextures code from project-moration.
This is why I should wait for people to review, even if I get annoyed that nobody seems to care. :duncecap:
This commit is contained in:
parent
0f7f8f8774
commit
830a4e4f8f
|
@ -102,8 +102,13 @@ void HiresTexture::Update()
|
||||||
std::string FileName;
|
std::string FileName;
|
||||||
SplitPath(rFilename, nullptr, &FileName, nullptr);
|
SplitPath(rFilename, nullptr, &FileName, nullptr);
|
||||||
|
|
||||||
if (FileName.substr(0, code.length()) == code ||
|
if (FileName.substr(0, code.length()) == code)
|
||||||
FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
{
|
||||||
|
s_textureMap[FileName] = rFilename;
|
||||||
|
s_check_native_format = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
||||||
{
|
{
|
||||||
s_textureMap[FileName] = rFilename;
|
s_textureMap[FileName] = rFilename;
|
||||||
s_check_new_format = true;
|
s_check_new_format = true;
|
||||||
|
|
Loading…
Reference in New Issue