diff options
author | tkrokli <tkrokli@gmail.com> | 2018-04-02 11:24:11 +0200 |
---|---|---|
committer | tkrokli <tkrokli@gmail.com> | 2018-04-02 11:24:11 +0200 |
commit | f021d87913dd05de2a9e6493ef0793d8425467fa (patch) | |
tree | 46670edef914b7e42a17256e0ca612479823047d | |
parent | e350cfc4374f7f2a1170b2c287a24d0461207dbd (diff) |
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"
-rw-r--r-- | src/server/game/Entities/Object/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 4bd21242b44..1260817789b 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -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; |