mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
TSAGE: BF - Fix savegame issue in Scene840
This commit is contained in:
parent
a8e49412cc
commit
c981b4f1cd
@ -2096,6 +2096,15 @@ bool Scene840::BoatKeysInset::WaveKeys::startAction(CursorType action, Event &ev
|
||||
}
|
||||
}
|
||||
|
||||
void Scene840::BoatKeysInset::synchronize(Serializer &s) {
|
||||
FocusObject::synchronize(s);
|
||||
|
||||
if (s.getVersion() >= 12) {
|
||||
s.syncAsSint16LE(_usedWaveKeys);
|
||||
s.syncAsSint16LE(_usedRentalKeys);
|
||||
}
|
||||
}
|
||||
|
||||
bool Scene840::BoatKeys::startAction(CursorType action, Event &event) {
|
||||
Scene840 *scene = (Scene840 *)BF_GLOBALS._sceneManager._scene;
|
||||
|
||||
|
@ -350,6 +350,7 @@ class Scene840: public PalettedScene {
|
||||
WaveKeys _waveKeys;
|
||||
bool _usedRentalKeys,_usedWaveKeys;
|
||||
|
||||
virtual void synchronize(Serializer &s);
|
||||
virtual void postInit(SceneObjectList *OwnerList = NULL);
|
||||
virtual void remove();
|
||||
virtual void process(Event &event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user