aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-05-21 19:45:30 +0200
committerStrangerke2014-05-21 19:45:30 +0200
commitb9ccb8a1ec871c86407642aa8b290db06089abff (patch)
tree2278e9499d36589ec4c403809a589ff979327cf5 /engines
parent39f5f0a093c8bbf7b6962d2c58b7ef9062687d58 (diff)
downloadscummvm-rg350-b9ccb8a1ec871c86407642aa8b290db06089abff.tar.gz
scummvm-rg350-b9ccb8a1ec871c86407642aa8b290db06089abff.tar.bz2
scummvm-rg350-b9ccb8a1ec871c86407642aa8b290db06089abff.zip
MADS: Remove useless variable in scene 103
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp6
-rw-r--r--engines/mads/nebular/nebular_scenes1.h1
2 files changed, 2 insertions, 5 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 0277af2878..e6f8d4fb8a 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -1244,7 +1244,6 @@ void Scene102::synchronize(Common::Serializer &s) {
/*------------------------------------------------------------------------*/
Scene103::Scene103(MADSEngine *vm) : Scene1xx(vm) {
- _sayHiToBinky = false;
_updateClock = 0;
}
@@ -1322,7 +1321,6 @@ void Scene103::enter() {
_vm->_palette->setEntry(252, 63, 63, 10);
_vm->_palette->setEntry(253, 45, 45, 10);
- _sayHiToBinky = false;
_updateClock = _scene->_frameStartTime;
}
@@ -1493,7 +1491,6 @@ void Scene103::actions() {
case 1: {
Common::String msg = _game.getQuote(72);
_scene->_kernelMessages.add(Common::Point(310, 132), 0xFDFC, 16, 2, 120, msg);
- _sayHiToBinky = false;
break;
}
@@ -1567,7 +1564,8 @@ void Scene103::postActions() {
void Scene103::synchronize(Common::Serializer &s) {
Scene1xx::synchronize(s);
- s.syncAsByte(_sayHiToBinky);
+ byte dummy = 0;
+ s.syncAsByte(dummy); // In order to avoid to break savegame compatibility
s.syncAsUint32LE(_updateClock);
}
diff --git a/engines/mads/nebular/nebular_scenes1.h b/engines/mads/nebular/nebular_scenes1.h
index 15357728f0..318773e41b 100644
--- a/engines/mads/nebular/nebular_scenes1.h
+++ b/engines/mads/nebular/nebular_scenes1.h
@@ -103,7 +103,6 @@ public:
class Scene103 : public Scene1xx {
private:
- bool _sayHiToBinky;
uint32 _updateClock;
public:
Scene103(MADSEngine *vm);