PRIVATE: removed unnecessary Common::SeekableReadStream cast
This commit is contained in:
parent
b3349c6a38
commit
37380da875
1 changed files with 2 additions and 2 deletions
|
@ -127,9 +127,9 @@ Common::SeekableReadStream *PrivateEngine::loadAssets() {
|
|||
Common::SeekableReadStream *file = NULL;
|
||||
|
||||
if (isDemo() && test->open("SUPPORT/ASSETS/DEMOGAME.WIN"))
|
||||
file = (Common::SeekableReadStream *)test;
|
||||
file = test;
|
||||
else if (test->open("SUPPORT/ASSETS/GAME.WIN")) {
|
||||
file = (Common::SeekableReadStream *)test;
|
||||
file = test;
|
||||
} else {
|
||||
delete test;
|
||||
assert(_installerArchive.open("SUPPORT/ASSETS.Z"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue