Skip to content

Commit

Permalink
TSAGE: Fixed saving game in scene 60
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 12, 2011
1 parent 0c2dfd2 commit 5f034cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 14 additions & 1 deletion engines/tsage/blue_force/blueforce_scenes0.cpp
Expand Up @@ -936,8 +936,21 @@ void Scene60::Action3::signal() {
/*--------------------------------------------------------------------------*/

Scene60::Scene60(): SceneExt() {
_field1222 = false;
_newScene = 0;
_sceneNumber = 0;
_visage = 0;
_cursorId = CURSOR_NONE;
_field1222 = false;
}

void Scene60::synchronize(Serializer &s) {
SceneExt::synchronize(s);

s.syncAsSint16LE(_newScene);
s.syncAsSint16LE(_sceneNumber);
s.syncAsSint16LE(_visage);
s.syncAsSint16LE(_cursorId);
s.syncAsSint16LE(_field1222);
}

void Scene60::postInit(SceneObjectList *OwnerList) {
Expand Down
1 change: 1 addition & 0 deletions engines/tsage/blue_force/blueforce_scenes0.h
Expand Up @@ -175,6 +175,7 @@ class Scene60 : public SceneExt {
bool _field1222;

Scene60();
virtual void synchronize(Serializer &s);
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
Expand Down

0 comments on commit 5f034cf

Please sign in to comment.