mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 02:04:52 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user