aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-07 15:46:08 +0200
committerFilippos Karapetis2014-12-07 15:46:08 +0200
commit0e763f6aa209613cbbbb4d4e3e2c1b8938c4f865 (patch)
tree08497a60c9da2f3bbad70a461bcdbb36666a20c9
parent2325183751e14a50b59f4a9cf5950396f52fed2a (diff)
downloadscummvm-rg350-0e763f6aa209613cbbbb4d4e3e2c1b8938c4f865.tar.gz
scummvm-rg350-0e763f6aa209613cbbbb4d4e3e2c1b8938c4f865.tar.bz2
scummvm-rg350-0e763f6aa209613cbbbb4d4e3e2c1b8938c4f865.zip
NEVERHOOD: Remove duplicate file hash definition
-rw-r--r--engines/neverhood/modules/module2400.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/neverhood/modules/module2400.cpp b/engines/neverhood/modules/module2400.cpp
index 3acb952db9..4bfc10abbf 100644
--- a/engines/neverhood/modules/module2400.cpp
+++ b/engines/neverhood/modules/module2400.cpp
@@ -168,11 +168,6 @@ static const uint32 kScene2401FileHashes2[] = {
0xD0910068, 0xD09100A8, 0
};
-static const uint32 kScene2401FileHashes3[] = {
- 0xD0910020, 0xD0910038, 0xD0910008,
- 0xD0910068, 0xD09100A8, 0
-};
-
static const NRect kScene2401Rects[] = {
{ 369, 331, 394, 389 },
{ 395, 331, 419, 389 },
@@ -264,11 +259,11 @@ void Scene2401::update() {
} else if (_pipeStatus >= 5) {
_ssWaterPipes[_pipeStatus]->setVisible(true);
_countdown1 = 8;
- playPipeSound(kScene2401FileHashes3[getSubVar(VA_CURR_WATER_PIPES_LEVEL, _pipeStatus - 5)]);
+ playPipeSound(kScene2401FileHashes2[getSubVar(VA_CURR_WATER_PIPES_LEVEL, _pipeStatus - 5)]);
} else {
_ssWaterPipes[_pipeStatus]->setVisible(true);
_countdown1 = _pipeStatus == 4 ? 16 : 8;
- playPipeSound(kScene2401FileHashes3[getSubVar(VA_GOOD_WATER_PIPES_LEVEL, _pipeStatus)]);
+ playPipeSound(kScene2401FileHashes2[getSubVar(VA_GOOD_WATER_PIPES_LEVEL, _pipeStatus)]);
}
_pipeStatus++;
}