mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 08:39:45 +00:00
MADS: Initialize variable in SceneTeleporter
This commit is contained in:
parent
46150086ab
commit
0eda31a6af
@ -344,6 +344,19 @@ void SceneInfoNebular::loadCodes(MSurface &depthSurface, Common::SeekableReadStr
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
SceneTeleporter::SceneTeleporter(MADSEngine *vm) : NebularScene(vm) {
|
||||
_buttonTyped = -1;
|
||||
_curCode = -1;
|
||||
_digitCount = -1;
|
||||
_curMessageId = -1;
|
||||
_handSpriteId = -1;
|
||||
_handSequenceId = -1;
|
||||
_finishedCodeCounter = -1;
|
||||
_meteorologistNextPlace = -1;
|
||||
_meteorologistCurPlace = -1;
|
||||
_teleporterSceneId = -1;
|
||||
}
|
||||
|
||||
int SceneTeleporter::teleporterAddress(int code, bool working) {
|
||||
int limit = working ? 6 : 10;
|
||||
|
||||
|
@ -1408,7 +1408,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
SceneTeleporter(MADSEngine *vm) : NebularScene(vm) {}
|
||||
SceneTeleporter(MADSEngine *vm);
|
||||
};
|
||||
|
||||
} // End of namespace Nebular
|
||||
|
Loading…
x
Reference in New Issue
Block a user