diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index 5ae0f1ea..012731ad 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -281,7 +281,7 @@ bool CHalfLife2::TextMsg(int client, int dest, const char *msg) return true; } -bool CHalfLife2::HinTextMsg(int client, const char *msg) +bool CHalfLife2::HintTextMsg(int client, const char *msg) { bf_write *pBitBuf = NULL; cell_t players[] = {client}; diff --git a/core/HalfLife2.h b/core/HalfLife2.h index ff6a7f8e..4425dd09 100644 --- a/core/HalfLife2.h +++ b/core/HalfLife2.h @@ -76,7 +76,7 @@ public: //IGameHelpers typedescription_t *FindInDataMap(datamap_t *pMap, const char *offset); void SetEdictStateChanged(edict_t *pEdict, unsigned short offset); bool TextMsg(int client, int dest, const char *msg); - bool HinTextMsg(int client, const char *msg); + bool HintTextMsg(int client, const char *msg); bool ShowVGUIMenu(int client, const char *name, KeyValues *data, bool show); private: DataTableInfo *_FindServerClass(const char *classname); diff --git a/core/smn_halflife.cpp b/core/smn_halflife.cpp index b023b35e..59f092b2 100644 --- a/core/smn_halflife.cpp +++ b/core/smn_halflife.cpp @@ -370,7 +370,7 @@ static cell_t PrintHintText(IPluginContext *pContext, const cell_t *params) return 0; } - if (!g_HL2.HinTextMsg(client, buffer)) + if (!g_HL2.HintTextMsg(client, buffer)) { return pContext->ThrowNativeError("Could not send a usermessage"); }