Fixed two uninitialised variables, removed unnecessary #include.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -55,7 +55,9 @@ ThreeDAnimation::ThreeDAnimation(const XMLNode &node)
|
||||
AnimationBase::m_node->getRotation() );
|
||||
m_hpr = AnimationBase::m_node->getRotation();
|
||||
}
|
||||
|
||||
else
|
||||
m_hpr = m_init_hpr;
|
||||
|
||||
m_body = NULL;
|
||||
m_motion_state = NULL;
|
||||
m_collision_shape = NULL;
|
||||
|
||||
@@ -57,6 +57,8 @@ SFXManager::SFXManager()
|
||||
// The sound manager initialises OpenAL
|
||||
m_initialized = music_manager->initialized();
|
||||
m_master_gain = UserConfigParams::m_sfx_volume;
|
||||
// Init position, since it can be used before positionListener is called.
|
||||
m_position = Vec3(0,0,0);
|
||||
|
||||
loadSfx();
|
||||
if (!sfxAllowed()) return;
|
||||
|
||||
@@ -34,7 +34,6 @@ using namespace irr;
|
||||
#include "utils/string_utils.hpp"
|
||||
|
||||
#include <ISceneManager.h>
|
||||
#include <IMeshManipulator.h>
|
||||
#include <IMeshSceneNode.h>
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user