1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

small fix for mygui log being spammed with errors

This commit is contained in:
scrawl 2012-05-19 00:06:11 +02:00
parent 41466fc5fc
commit 1006411c02

View file

@ -489,7 +489,8 @@ void ContainerBase::drawItems()
{
backgroundTex += "_barter";
}
backgroundTex += ".dds";
if (backgroundTex != "")
backgroundTex += ".dds";
backgroundWidget->setImageTexture(backgroundTex);
if (it->second == ItemState_Barter && !isMagic)