Fix warning when sending party message (#7350)
Fixes #7344 Thanks @24msz6eo
This commit is contained in:
parent
311cda80af
commit
e28fb93f1e
@ -8058,7 +8058,7 @@ void clif_party_message( struct party_data& party, uint32 account_id, const char
|
||||
return;
|
||||
}
|
||||
|
||||
if( len ){
|
||||
if (len > CHAT_SIZE_MAX) {
|
||||
ShowWarning( "clif_party_message: Truncated message '%s' (len=%d, max=%" PRIuPTR ", party_id=%d).\n", mes, len, CHAT_SIZE_MAX, party.party.party_id );
|
||||
len = CHAT_SIZE_MAX;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user