mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
PRIVATE: removed unnecessary Common::SeekableReadStream cast
This commit is contained in:
parent
b3349c6a38
commit
37380da875
@ -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…
x
Reference in New Issue
Block a user