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 authored and Aokromes committed 2018-04-06 07:26:53 +02:00
1 parent 3c302f11ce
commit 043d22a16b
1 file changed
+1 -1
+1 -1
View File
@@ -1153,7 +1153,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;