aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLittleboy2012-08-01 17:56:56 -0400
committerLittleboy2012-08-01 17:56:56 -0400
commit272c1d87e49bc77e5e1a451fa81ea3463fff7d2a (patch)
treece789982c4d4edb3be1fa6f21e5d49346f39be70
parent4ad7d48fe9b306192963398668feb6332a664830 (diff)
downloadscummvm-rg350-272c1d87e49bc77e5e1a451fa81ea3463fff7d2a.tar.gz
scummvm-rg350-272c1d87e49bc77e5e1a451fa81ea3463fff7d2a.tar.bz2
scummvm-rg350-272c1d87e49bc77e5e1a451fa81ea3463fff7d2a.zip
LASTEXPRESS: Fix typo preventing playing NIS animations from the debugger
-rw-r--r--engines/lastexpress/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/debug.cpp b/engines/lastexpress/debug.cpp
index 13a8a77ca9..f89ad8b80d 100644
--- a/engines/lastexpress/debug.cpp
+++ b/engines/lastexpress/debug.cpp
@@ -609,7 +609,7 @@ bool Debugger::cmdPlayNis(int argc, const char **argv) {
loadArchive((ArchiveIndex)getNumber(argv[2]));
// If we got a nis filename, check that the file exists
- if (name.contains('.') && _engine->getResourceManager()->hasFile(name)) {
+ if (name.contains('.') && !_engine->getResourceManager()->hasFile(name)) {
DebugPrintf("Cannot find file: %s\n", name.c_str());
return true;
}