diff --git a/core/smn_hudtext.cpp b/core/smn_hudtext.cpp index 90b04052..6f7af02e 100644 --- a/core/smn_hudtext.cpp +++ b/core/smn_hudtext.cpp @@ -373,7 +373,11 @@ static cell_t ShowSyncHudText(IPluginContext *pContext, const cell_t *params) Handle_t err; CPlayer *pPlayer; hud_syncobj_t *obj; +#if SOURCE_ENGINE == SE_CSGO || SOURCE_ENGINE == SE_BLADE + char message_buffer[512]; +#else char message_buffer[255-36]; +#endif if (!s_HudMsgHelpers.IsSupported()) { @@ -453,7 +457,11 @@ static cell_t ShowHudText(IPluginContext *pContext, const cell_t *params) { int client; CPlayer *pPlayer; +#if SOURCE_ENGINE == SE_CSGO || SOURCE_ENGINE == SE_BLADE + char message_buffer[512]; +#else char message_buffer[255-36]; +#endif if (!s_HudMsgHelpers.IsSupported()) {