Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.

This commit is contained in:
Kyzentun
2014-08-02 00:38:25 -07:00
committed by Jonathan Payne
parent 5df80b6e0e
commit 4343a99ea9
10 changed files with 147 additions and 89 deletions
+1
View File
@@ -28,6 +28,7 @@ void CourseContentsList::LoadFromNode( const XNode* pNode )
if( pDisplayNode == NULL )
{
LuaHelpers::ReportScriptErrorFmt("%s: CourseContentsList: missing the Display child", ActorUtil::GetWhere(pNode).c_str());
return;
}
for( int i=0; i<iMaxSongs; i++ )