TUCKER: Use empty() instead of comparing against empty string literal

This commit is contained in:
Adrian Frühwirth 2018-07-04 13:09:06 +02:00
parent cf0f0122e4
commit 931113789b

View File

@ -143,7 +143,7 @@ void TuckerEngine::handleCreditsSequence() {
filename = "loc78.pcx";
break;
}
if (filename != "")
if (!filename.empty())
loadImage(filename.c_str(), _quadBackgroundGfxBuf, 2);
}
_spritesCount = _creditsSequenceSpriteCounts[num];