mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
LASTEXPRESS: Fix typo preventing playing NIS animations from the debugger
This commit is contained in:
parent
4ad7d48fe9
commit
272c1d87e4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user