LASTEXPRESS: Fix typo preventing playing NIS animations from the debugger
This commit is contained in:
parent
4ad7d48fe9
commit
272c1d87e4
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ bool Debugger::cmdPlayNis(int argc, const char **argv) {
|
||||||
loadArchive((ArchiveIndex)getNumber(argv[2]));
|
loadArchive((ArchiveIndex)getNumber(argv[2]));
|
||||||
|
|
||||||
// If we got a nis filename, check that the file exists
|
// 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());
|
DebugPrintf("Cannot find file: %s\n", name.c_str());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue