diff --git a/core/UserMessages.cpp b/core/UserMessages.cpp index 2b797e4b..cede4e11 100644 --- a/core/UserMessages.cpp +++ b/core/UserMessages.cpp @@ -446,7 +446,7 @@ bool UserMessages::InternalHook(int msg_id, IBitBufUserMessageListener *pListene } #ifdef USE_PROTOBUF_USERMESSAGES -const protobuf::Message *GetMessagePrototype(int msg_type) +const protobuf::Message *UserMessages::GetMessagePrototype(int msg_type) { #if SOURCE_ENGINE == SE_DOTA return g_DotaUsermessageHelpers.GetPrototype(msg_type);