diff options
author | Peter Kohaut | 2018-02-12 20:53:13 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-02-12 20:57:26 +0100 |
commit | 1d9a248abe37a5e8230571d2b35cd96773be7f1e (patch) | |
tree | 08fb84f18dc8b3d5dbcc12555e7804b0cfb34e0b /engines/bladerunner/ui/kia_section_crimes.cpp | |
parent | 7f50c5040144627cf00ccd91831946c356c45860 (diff) | |
download | scummvm-rg350-1d9a248abe37a5e8230571d2b35cd96773be7f1e.tar.gz scummvm-rg350-1d9a248abe37a5e8230571d2b35cd96773be7f1e.tar.bz2 scummvm-rg350-1d9a248abe37a5e8230571d2b35cd96773be7f1e.zip |
BLADERUNNER: Fixed more Coverity issues
Diffstat (limited to 'engines/bladerunner/ui/kia_section_crimes.cpp')
-rw-r--r-- | engines/bladerunner/ui/kia_section_crimes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/bladerunner/ui/kia_section_crimes.cpp b/engines/bladerunner/ui/kia_section_crimes.cpp index 417a0588e0..96075fbc22 100644 --- a/engines/bladerunner/ui/kia_section_crimes.cpp +++ b/engines/bladerunner/ui/kia_section_crimes.cpp @@ -60,6 +60,10 @@ KIASectionCrimes::KIASectionCrimes(BladeRunnerEngine *vm, ActorClues *clues) : K _uiContainer->add(_cluesScrollBox); _acquiredClueCount = 0; + for (int i = 0; i < kClueCount; ++i) { + _acquiredClues[i].clueId = -1; + _acquiredClues[i].actorId = -1; + } _crimeSelected = -1; _crimesFoundCount = 0; |