(svn r24388) -Fix [FS#5233]: Do not consider not finding a particular base set critical; just load a different one and display an in-game error later on.

This commit is contained in:
frosch
2012-07-08 18:41:50 +00:00
parent 248ba5eddb
commit 7ae3b0d332
4 changed files with 37 additions and 8 deletions

View File

@@ -417,3 +417,13 @@ void ScheduleErrorMessage(ErrorList &datas)
{
_error_list.splice(_error_list.end(), datas);
}
/**
* Schedule an error.
* Note: This does not try to display the error now. This is useful if the window system is not yet running.
* @param data Error message data; cleared afterwards
*/
void ScheduleErrorMessage(const ErrorMessageData &data)
{
_error_list.push_back(data);
}