diff options
author | Strangerke | 2013-09-05 01:48:16 +0200 |
---|---|---|
committer | Strangerke | 2013-09-05 01:48:16 +0200 |
commit | 71af29e9794eb9bc4d597068a44e19e06d0bb28e (patch) | |
tree | 6fa448b05ec42701907ada826c5dfbc21fdb3944 /engines/avalanche/avalanche.cpp | |
parent | d52c41011846c363e7507c723ef81b1b0b55909a (diff) | |
download | scummvm-rg350-71af29e9794eb9bc4d597068a44e19e06d0bb28e.tar.gz scummvm-rg350-71af29e9794eb9bc4d597068a44e19e06d0bb28e.tar.bz2 scummvm-rg350-71af29e9794eb9bc4d597068a44e19e06d0bb28e.zip |
AVALANCHE: Remove dead code reported by CppCheck
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r-- | engines/avalanche/avalanche.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index c6ca485b97..cd83d54424 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -271,13 +271,15 @@ void AvalancheEngine::synchronize(Common::Serializer &sz) { sz.syncAsByte(_gyro->dna.asked_dogfood_about_nim); - //for (byte groi = 0; groi < numtr; groi++) { - // if (tr[groi].quick) { - // blockwrite(f, groi, 1); - // tr[groi].savedata(f); - // } - //} - +#if 0 + for (byte groi = 0; groi < numtr; groi++) { + if (tr[groi].quick) { + blockwrite(f, groi, 1); + tr[groi].savedata(f); + } + } +#endif + byte spriteNum = 0; if (sz.isSaving()) { for (byte i = 0; i < _trip->numtr; i++) { |