LASTEXPRESS: Fix typo preventing playing NIS animations from the debugger

This commit is contained in:
Littleboy 2012-08-01 17:56:56 -04:00
parent 4ad7d48fe9
commit 272c1d87e4

View File

@ -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;
}