EMI: Fix the demo's file-loading

This commit is contained in:
Einar Johan T. Sømåen 2011-12-30 18:51:57 +01:00
parent 1a0ed0c852
commit 9caed94c7d

View File

@ -95,7 +95,9 @@ ResourceLoader::ResourceLoader() {
}
}
if (g_grim->getGameType() == GType_MONKEY4)
if (g_grim->getGameType() == GType_MONKEY4 && g_grim->getGameFlags() == ADGF_DEMO)
SearchMan.listMatchingMembers(files, "*.lab");
else if (g_grim->getGameType() == GType_MONKEY4)
SearchMan.listMatchingMembers(files, "*.m4b");
if (files.empty())