mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 12:55:24 +00:00
MADS: The intro animations of Phantom and Dragon work now
This commit is contained in:
parent
f8979d60c3
commit
e6a14f403f
@ -201,6 +201,10 @@ Common::String DragonsphereScene::formAnimName(char sepChar, int suffixNum) {
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
void SceneInfoDragonsphere::loadCodes(MSurface &depthSurface, int variant) {
|
||||
// The intro scenes do not have any codes
|
||||
if (_sceneId >= 900)
|
||||
return;
|
||||
|
||||
Common::String ext = Common::String::format(".WW%d", variant);
|
||||
File f(Resources::formatName(RESPREFIX_RM, _sceneId, ext));
|
||||
MadsPack codesPack(&f);
|
||||
|
@ -169,6 +169,10 @@ Common::String PhantomScene::formAnimName(char sepChar, int suffixNum) {
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
void SceneInfoPhantom::loadCodes(MSurface &depthSurface, int variant) {
|
||||
// The intro scenes do not have any codes
|
||||
if (_sceneId >= 900)
|
||||
return;
|
||||
|
||||
Common::String ext = Common::String::format(".WW%d", variant);
|
||||
File f(Resources::formatName(RESPREFIX_RM, _sceneId, ext));
|
||||
MadsPack codesPack(&f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user