Fixed some valgrind warnings about uninitialized variables.
This commit is contained in:
@@ -11,6 +11,9 @@ lcMesh::lcMesh()
|
||||
{
|
||||
mSections = NULL;
|
||||
mNumSections = 0;
|
||||
mNumVertices = 0;
|
||||
mNumTexturedVertices = 0;
|
||||
mIndexType = 0;
|
||||
}
|
||||
|
||||
lcMesh::~lcMesh()
|
||||
|
||||
@@ -68,6 +68,8 @@ Project::Project()
|
||||
m_pBackground = new lcTexture();
|
||||
m_nAutosave = Sys_ProfileLoadInt ("Settings", "Autosave", 10);
|
||||
m_nMouse = Sys_ProfileLoadInt ("Default", "Mouse", 11);
|
||||
m_nDownX = 0;
|
||||
m_nDownY = 0;
|
||||
strcpy(m_strModelsPath, Sys_ProfileLoadString ("Default", "Projects", ""));
|
||||
|
||||
if (messenger == NULL)
|
||||
|
||||
Reference in New Issue
Block a user