Skip to content

Commit

Permalink
don't send message zero length
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha committed Apr 9, 2024
1 parent f8bc2ab commit a7c5bb8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a7c5bb8

Please sign in to comment.