mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
HPL1: Fixed uninitilized variables reported by valgrind
This commit is contained in:
parent
96768dcde7
commit
75ffdcddde
@ -802,6 +802,8 @@ cNotebook::cNotebook(cInit *apInit) : iUpdateable("Notebook") {
|
||||
mpInit = apInit;
|
||||
mpDrawer = mpInit->mpGame->GetGraphics()->GetDrawer();
|
||||
|
||||
mbInventoryWasActive = false;
|
||||
|
||||
Reset();
|
||||
|
||||
mpGfxBackground = mpDrawer->CreateGfxObject("notebook_background.bmp", "diffalpha2d");
|
||||
|
@ -80,6 +80,8 @@ cPlayer::cPlayer(cInit *apInit) : iUpdateable("Player") {
|
||||
mvSize.y = mpInit->mpGameConfig->GetFloat("Player", "Height", 1);
|
||||
mvSize.z = mvSize.x;
|
||||
|
||||
mpPushBody = nullptr;
|
||||
|
||||
mfCameraHeightAdd = mpInit->mpGameConfig->GetFloat("Player", "CameraHeightAdd", 0);
|
||||
|
||||
mfDefaultMass = mpInit->mpGameConfig->GetFloat("Player", "Mass", 1);
|
||||
|
Loading…
Reference in New Issue
Block a user