aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-07-04 13:09:06 +0200
committerAdrian Frühwirth2018-07-04 13:09:06 +0200
commit931113789b3eea69c6691c34aaa696b6f75e2061 (patch)
tree19ff3a13b99d46eb70f80359d3803f654c2c4731
parentcf0f0122e458363181fddd9ff50b3dc0a2deddcd (diff)
downloadscummvm-rg350-931113789b3eea69c6691c34aaa696b6f75e2061.tar.gz
scummvm-rg350-931113789b3eea69c6691c34aaa696b6f75e2061.tar.bz2
scummvm-rg350-931113789b3eea69c6691c34aaa696b6f75e2061.zip
TUCKER: Use empty() instead of comparing against empty string literal
-rw-r--r--engines/tucker/sequences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/sequences.cpp b/engines/tucker/sequences.cpp
index c3ae2e86f6..557b2c84b4 100644
--- a/engines/tucker/sequences.cpp
+++ b/engines/tucker/sequences.cpp
@@ -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];