PRIVATE: removed unnecessary Common::SeekableReadStream cast

This commit is contained in:
neuromancer 2021-06-20 14:26:43 +02:00 committed by Eugene Sandulenko
parent b3349c6a38
commit 37380da875

View File

@ -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"));