Fix incorrect formatting

Gets rid of this warning:

  error: adding 'int' to a string does not append to the string [-Werror,-Wstring-plus-int]
This commit is contained in:
Martin Natano
2022-05-31 07:35:17 -07:00
parent 228920e7dc
commit 699ef6fdbe
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -738,7 +738,7 @@ void GameCommand::ApplySelf( const vector<PlayerNumber> &vpns ) const
}
break;
default:
LuaHelpers::ReportScriptError("Invalid StyleType: " + m_pStyle->m_StyleType);
LuaHelpers::ReportScriptErrorFmt("Invalid StyleType: %d", m_pStyle->m_StyleType);
}
}
if( m_dc != Difficulty_Invalid )