aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorThomas Fach-Pedersen2016-10-22 18:30:46 +0200
committerThomas Fach-Pedersen2016-10-22 18:46:28 +0200
commit669e6be4380f058cf097c686e0edaa75ae500576 (patch)
tree06c163627a447e1d9acee7820ae6e90713768dc5 /base/plugins.cpp
parent41e6a5d2a64bbecd37d47a1dc87b4135c2149f4a (diff)
downloadscummvm-rg350-669e6be4380f058cf097c686e0edaa75ae500576.tar.gz
scummvm-rg350-669e6be4380f058cf097c686e0edaa75ae500576.tar.bz2
scummvm-rg350-669e6be4380f058cf097c686e0edaa75ae500576.zip
BLADERUNNER: Fix uninitialized variable accesses
Fixes a couple of issues reported by valgrind and clang sanitizers. In particular, the initialization of Actor::_inCombat means that McCoy no longer randomly has his gun out at the beginning of the game. In SliceRenderer::drawInWorld, the assert of _sliceFramePtr has been moved to after the call to setupFrameInWorld which is the method that initializes the field. This misplaced assert caused the game to crash for several people.
Diffstat (limited to 'base/plugins.cpp')
0 files changed, 0 insertions, 0 deletions