1
0
forked from mirrors/0ad

Initialize some previously uninitialized variables.

This was SVN commit r3050.
This commit is contained in:
prefect
2005-10-29 22:50:54 +00:00
parent 15d9278af6
commit 998622ff54
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ void CGUISpriteInstance::Draw(CRect Size, int CellID, std::map<CStr, CGUISprite>
void CGUISpriteInstance::Invalidate()
{
m_CachedSize = CRect();
m_CachedCellID = -1;
}
bool CGUISpriteInstance::IsEmpty() const
@@ -27,6 +28,7 @@ bool CGUISpriteInstance::IsEmpty() const
// of data):
CGUISpriteInstance::CGUISpriteInstance()
: m_CachedCellID(-1)
{
}
+2
View File
@@ -122,6 +122,8 @@ struct CBuildingPlacer : public Singleton<CBuildingPlacer>
CBuildingPlacer()
{
m_active = false;
m_actor = 0;
m_bounds = 0;
}
CStrW m_templateName;