Object.cpp: TC_LOG_ERROR grammar improvement

Bad English grammar previously used in the error log:
  "Attempt get value from non-existed value field"

After the change:
  "Attempt to get value from non-existing value field"
This commit is contained in:
tkrokli
2018-04-02 11:24:11 +02:00
parent e350cfc437
commit f021d87913

View File

@@ -987,7 +987,7 @@ void Object::ApplyModFlag64(uint16 index, uint64 flag, bool apply)
bool Object::PrintIndexError(uint32 index, bool set) const
{
TC_LOG_ERROR("misc", "Attempt %s non-existed value field: %u (count: %u) for object typeid: %u type mask: %u", (set ? "set value to" : "get value from"), index, m_valuesCount, GetTypeId(), m_objectType);
TC_LOG_ERROR("misc", "Attempt to %s non-existing value field: %u (count: %u) for object typeid: %u type mask: %u", (set ? "set value to" : "get value from"), index, m_valuesCount, GetTypeId(), m_objectType);
// ASSERT must fail after function call
return false;