Expand ShowHudText message buffer for Protobuf games (#1777)
* Expand ShowHudText message buffer for CS:GO * Expand buffer on Blade Symphony too
This commit is contained in:
parent
250bbf5955
commit
e2237ce875
@ -373,7 +373,11 @@ static cell_t ShowSyncHudText(IPluginContext *pContext, const cell_t *params)
|
|||||||
Handle_t err;
|
Handle_t err;
|
||||||
CPlayer *pPlayer;
|
CPlayer *pPlayer;
|
||||||
hud_syncobj_t *obj;
|
hud_syncobj_t *obj;
|
||||||
|
#if SOURCE_ENGINE == SE_CSGO || SOURCE_ENGINE == SE_BLADE
|
||||||
|
char message_buffer[512];
|
||||||
|
#else
|
||||||
char message_buffer[255-36];
|
char message_buffer[255-36];
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!s_HudMsgHelpers.IsSupported())
|
if (!s_HudMsgHelpers.IsSupported())
|
||||||
{
|
{
|
||||||
@ -453,7 +457,11 @@ static cell_t ShowHudText(IPluginContext *pContext, const cell_t *params)
|
|||||||
{
|
{
|
||||||
int client;
|
int client;
|
||||||
CPlayer *pPlayer;
|
CPlayer *pPlayer;
|
||||||
|
#if SOURCE_ENGINE == SE_CSGO || SOURCE_ENGINE == SE_BLADE
|
||||||
|
char message_buffer[512];
|
||||||
|
#else
|
||||||
char message_buffer[255-36];
|
char message_buffer[255-36];
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!s_HudMsgHelpers.IsSupported())
|
if (!s_HudMsgHelpers.IsSupported())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user