diff options
author | Travis Howell | 2005-09-10 06:40:20 +0000 |
---|---|---|
committer | Travis Howell | 2005-09-10 06:40:20 +0000 |
commit | b7e2486b6db5d9112fbc5e34bf75d0d20e42917f (patch) | |
tree | 54dde6728c8fb6e5d7bbd086d7fac0032dcdef5c /kyra/resource.cpp | |
parent | 689b89b2be74df1d48bb60184f441dba7b88f147 (diff) | |
download | scummvm-rg350-b7e2486b6db5d9112fbc5e34bf75d0d20e42917f.tar.gz scummvm-rg350-b7e2486b6db5d9112fbc5e34bf75d0d20e42917f.tar.bz2 scummvm-rg350-b7e2486b6db5d9112fbc5e34bf75d0d20e42917f.zip |
Add support for non-interactive demo version.
svn-id: r18801
Diffstat (limited to 'kyra/resource.cpp')
-rw-r--r-- | kyra/resource.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kyra/resource.cpp b/kyra/resource.cpp index ceba14ae06..cf61818d55 100644 --- a/kyra/resource.cpp +++ b/kyra/resource.cpp @@ -29,6 +29,10 @@ namespace Kyra { Resource::Resource(KyraEngine* engine) { _engine = engine; + // No PAK files in the demo version + if (_engine->game() == KYRA1DEMO) + return; + // prefetches all PAK Files // ugly a hardcoded list |