diff options
author | Paul Gilbert | 2015-06-05 21:10:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-05 21:10:07 -0400 |
commit | cf76576035e37d2d55524ca3a7ade3af9804c85d (patch) | |
tree | 59773703a1a03f22205c9cc256d2fe8699fa4d44 /engines/sherlock | |
parent | 8ede67cd942ffa328cf9aa9ab58a9d58fe0c30cc (diff) | |
download | scummvm-rg350-cf76576035e37d2d55524ca3a7ade3af9804c85d.tar.gz scummvm-rg350-cf76576035e37d2d55524ca3a7ade3af9804c85d.tar.bz2 scummvm-rg350-cf76576035e37d2d55524ca3a7ade3af9804c85d.zip |
SHERLOCK: Removed unused _savedStats
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/scene.cpp | 6 | ||||
-rw-r--r-- | engines/sherlock/scene.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index c377ab7f64..edb52f3640 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -161,15 +161,11 @@ Scene *Scene::init(SherlockEngine *vm) { } Scene::Scene(SherlockEngine *vm): _vm(vm) { - // TODO: _savedStats isn't ever used? _sceneStats = new bool *[SCENES_COUNT]; - _savedStats = new bool *[SCENES_COUNT]; _sceneStats[0] = new bool[SCENES_COUNT * 65]; - _savedStats[0] = new bool[SCENES_COUNT * 9]; Common::fill(&_sceneStats[0][0], &_sceneStats[0][SCENES_COUNT * 65], false); for (int idx = 1; idx < SCENES_COUNT; ++idx) { _sceneStats[idx] = _sceneStats[idx - 1] + 65; - _savedStats[idx] = _savedStats[idx - 1] + 9; } _currentScene = -1; _goToScene = -1; @@ -190,8 +186,6 @@ Scene::~Scene() { freeScene(); delete[] _sceneStats[0]; delete[] _sceneStats; - delete[] _savedStats[0]; - delete[] _savedStats; } void Scene::selectScene() { diff --git a/engines/sherlock/scene.h b/engines/sherlock/scene.h index 1555e37282..e13c3a5504 100644 --- a/engines/sherlock/scene.h +++ b/engines/sherlock/scene.h @@ -202,7 +202,6 @@ public: int _currentScene; int _goToScene; bool **_sceneStats; - bool **_savedStats; bool _walkedInScene; int _version; bool _lzwMode; |