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.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.cpp')
-rw-r--r-- | engines/bladerunner/ui/kia.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/bladerunner/ui/kia.cpp b/engines/bladerunner/ui/kia.cpp index c27a548b3a..0a6229411e 100644 --- a/engines/bladerunner/ui/kia.cpp +++ b/engines/bladerunner/ui/kia.cpp @@ -99,6 +99,11 @@ KIA::KIA(BladeRunnerEngine *vm) { _loadSection = new KIASectionLoad(_vm); _diagnosticSection = new KIASectionDiagnostic(_vm); _pogoSection = new KIASectionPogo(_vm); + + for (int i = 0; i < kPlayerActorDialogueQueueCapacity; ++i) { + _playerActorDialogueQueue[i].actorId = -1; + _playerActorDialogueQueue[i].sentenceId = -1; + } } KIA::~KIA() { |