diff --git a/stepmania/src/AnnouncerManager.cpp b/stepmania/src/AnnouncerManager.cpp index 4b07af96ae..6a018e954d 100644 --- a/stepmania/src/AnnouncerManager.cpp +++ b/stepmania/src/AnnouncerManager.cpp @@ -2,6 +2,7 @@ #include "AnnouncerManager.h" #include "RageLog.h" #include "RageUtil.h" +#include "RageFile.h" AnnouncerManager* ANNOUNCER = NULL; // global object accessable from anywhere in the program diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 514c3ec192..5e1390ee46 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -645,7 +645,7 @@ XNode *XNode::GetChild( const CString &sName ) multimap::iterator it = m_childs.find( sName ); if( it != m_childs.end() ) { - DEBUG_ASSERT( name == it->second->m_sName ); + DEBUG_ASSERT( sName == it->second->m_sName ); return it->second; } return NULL; @@ -656,7 +656,7 @@ const XNode *XNode::GetChild( const CString &sName ) const multimap::const_iterator it = m_childs.find( sName ); if( it != m_childs.end() ) { - DEBUG_ASSERT( name == it->second->m_sName ); + DEBUG_ASSERT( sName == it->second->m_sName ); return it->second; } return NULL;