aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/modules
diff options
context:
space:
mode:
authorFilippos Karapetis2013-09-27 00:02:20 +0300
committerFilippos Karapetis2013-09-27 01:38:16 +0300
commite925f8a9d888fe39a23d4b240976055cf9f2804d (patch)
treeb5347e9e51ad889deeff21880e8558b4fd088bf0 /engines/neverhood/modules
parentcfa6974d29e4f30c749f859242e54b59b555b67a (diff)
downloadscummvm-rg350-e925f8a9d888fe39a23d4b240976055cf9f2804d.tar.gz
scummvm-rg350-e925f8a9d888fe39a23d4b240976055cf9f2804d.tar.bz2
scummvm-rg350-e925f8a9d888fe39a23d4b240976055cf9f2804d.zip
NEVERHOOD: Fix uninitialized variable in AsScene2810Rope - CID 1022310
Diffstat (limited to 'engines/neverhood/modules')
-rw-r--r--engines/neverhood/modules/module2800_sprites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/neverhood/modules/module2800_sprites.cpp b/engines/neverhood/modules/module2800_sprites.cpp
index 28e2657ee7..f7949b97c8 100644
--- a/engines/neverhood/modules/module2800_sprites.cpp
+++ b/engines/neverhood/modules/module2800_sprites.cpp
@@ -895,7 +895,7 @@ uint32 AsScene2809Spew::handleMessage(int messageNum, const MessageParam &param,
}
AsScene2810Rope::AsScene2810Rope(NeverhoodEngine *vm, Scene *parentScene, int16 x)
- : AnimatedSprite(vm, 1100) {
+ : AnimatedSprite(vm, 1100), _parentScene(parentScene) {
createSurface(990, 68, 476);
SetUpdateHandler(&AnimatedSprite::update);