diff options
author | Strangerke | 2014-09-17 23:10:25 +0200 |
---|---|---|
committer | Strangerke | 2014-09-17 23:10:25 +0200 |
commit | 0b81ffedd429b3914cbb1dabcd0d53621c932aa4 (patch) | |
tree | c2cbbbdd8fe5575d84ecf849a10ec4e86860d49d /engines/cge2 | |
parent | 1769003a9b7158ab77afdf98c3c11f949e988ddf (diff) | |
download | scummvm-rg350-0b81ffedd429b3914cbb1dabcd0d53621c932aa4.tar.gz scummvm-rg350-0b81ffedd429b3914cbb1dabcd0d53621c932aa4.tar.bz2 scummvm-rg350-0b81ffedd429b3914cbb1dabcd0d53621c932aa4.zip |
CGE2: Reduce the scope of a variable
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 1057b00089..3e3d615a91 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -722,10 +722,9 @@ void CGE2Engine::loadTab() { if (_resman->exist(kTabName)) { EncryptedStream f(this, kTabName); - uint32 v; for (int i = 0; i < kSceneMax; i++) { - v = f.readUint32LE(); + uint32 v = f.readUint32LE(); _eyeTab[i]->_x = FXP(v >> 8, static_cast<int>((int8)(v & 0xff))); v = f.readUint32LE(); |