diff --git a/amxmodx/amxmodx.h b/amxmodx/amxmodx.h index a8f834d8..26d092ad 100755 --- a/amxmodx/amxmodx.h +++ b/amxmodx/amxmodx.h @@ -144,7 +144,7 @@ void UTIL_IntToString(int value, char *output); void UTIL_ShowMOTD(edict_t *client, char *motd, int mlen, const char *name); void UTIL_ShowMenu(edict_t* pEntity, int slots, int time, char *menu, int mlen); void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg); -void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName); +void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName); char *UTIL_VarArgs(const char *fmt, ...); diff --git a/amxmodx/util.cpp b/amxmodx/util.cpp index 438ebf8b..9236981d 100755 --- a/amxmodx/util.cpp +++ b/amxmodx/util.cpp @@ -309,7 +309,7 @@ void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg) msg[190] = c; } -void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName) +void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName) { if (!gmsgTeamInfo) return;