Clear error log before loading an area

This commit is contained in:
parax0 2016-02-08 00:51:09 -07:00
parent a46cd5446f
commit 37110f4e54
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ void CStartWindow::on_LaunchWorldEditorButton_clicked()
{
if (mpWorldEditor->CheckUnsavedChanges())
{
Log::ClearErrorLog();
u64 AreaID = mpWorld->GetAreaResourceID(mSelectedAreaIndex);
TResPtr<CGameArea> pArea = gResCache.GetResource(AreaID, "MREA");