From 37380da875cc98fa36fd536613813a466246ae4c Mon Sep 17 00:00:00 2001 From: neuromancer Date: Sun, 20 Jun 2021 14:26:43 +0200 Subject: [PATCH] PRIVATE: removed unnecessary Common::SeekableReadStream cast --- engines/private/private.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/private/private.cpp b/engines/private/private.cpp index 2b4da3ad9c8..9d8c578103f 100644 --- a/engines/private/private.cpp +++ b/engines/private/private.cpp @@ -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"));