From a7c5bb8b491d846fe0f57f79db8e94232ba611ce Mon Sep 17 00:00:00 2001 From: Vaqtincha Date: Tue, 9 Apr 2024 16:21:39 +0500 Subject: [PATCH] don't send message zero length --- regamedll/dlls/player.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index ea9fb86a9..e4e97d3dc 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -411,7 +411,11 @@ void EXT_FUNC CBasePlayer::__API_HOOK(Radio)(const char *msg_id, const char *msg MESSAGE_END(); // radio message icon - if (msg_verbose) + if (msg_verbose +#ifdef REGAMEDLL_FIXES + && Q_strlen(msg_verbose) > 0 +#endif + ) { // search the place name where is located the player const char *placeName = nullptr;