Fix uninitialized variables, fixes #2567
This commit is contained in:
parent
19acdad9b4
commit
1463cf9344
@ -115,6 +115,7 @@ void Camera::resetAllCameras()
|
||||
Camera::Camera(int camera_index, AbstractKart* kart) : m_kart(NULL)
|
||||
{
|
||||
m_mode = CM_NORMAL;
|
||||
m_type = CameraType::CM_TYPE_NORMAL;
|
||||
m_index = camera_index;
|
||||
m_original_kart = kart;
|
||||
m_camera = irr_driver->addCameraSceneNode();
|
||||
|
@ -61,6 +61,7 @@ CutsceneWorld::CutsceneWorld() : World()
|
||||
m_play_track_intro_sound = false;
|
||||
m_play_ready_set_go_sounds = false;
|
||||
m_fade_duration = 1.0f;
|
||||
m_camera = NULL;
|
||||
} // CutsceneWorld
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user