|
|
@ -1122,11 +1122,14 @@ uint32_t cyMisc::SendRTChat(pyPlayer& from, const std::vector<pyPlayer*> & tolis |
|
|
|
|
|
|
|
|
|
|
|
if (tolist.size() > 0) |
|
|
|
if (tolist.size() > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (flags & pfKIMsg::kInterAgeMsg) |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
{ |
|
|
|
// this goes to everybody on the shard
|
|
|
|
|
|
|
|
if (flags & pfKIMsg::kGlobalMsg) |
|
|
|
|
|
|
|
msg->SetAllBCastFlags(plMessage::kCCRSendToAllPlayers); |
|
|
|
|
|
|
|
#endif |
|
|
|
// allow inter-age routing of this msg
|
|
|
|
// allow inter-age routing of this msg
|
|
|
|
|
|
|
|
if (flags & pfKIMsg::kInterAgeMsg) |
|
|
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge ); |
|
|
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge ); |
|
|
|
} |
|
|
|
|
|
|
|
// add net rcvrs to msg
|
|
|
|
// add net rcvrs to msg
|
|
|
|
int i; |
|
|
|
int i; |
|
|
|
for ( i=0 ; i<tolist.size() ; i++ ) |
|
|
|
for ( i=0 ; i<tolist.size() ; i++ ) |
|
|
@ -1156,11 +1159,14 @@ uint32_t cyMisc::SendRTChat(pyPlayer& from, const std::vector<pyPlayer*> & tolis |
|
|
|
|
|
|
|
|
|
|
|
if (tolist.size() > 0) |
|
|
|
if (tolist.size() > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (flags & pfKIMsg::kInterAgeMsg) |
|
|
|
#ifndef PLASMA_EXTERNAL_RELEASE |
|
|
|
{ |
|
|
|
// this goes to everybody on the shard
|
|
|
|
|
|
|
|
if (flags & pfKIMsg::kGlobalMsg) |
|
|
|
|
|
|
|
msg->SetAllBCastFlags(plMessage::kCCRSendToAllPlayers); |
|
|
|
|
|
|
|
#endif |
|
|
|
// allow inter-age routing of this msg
|
|
|
|
// allow inter-age routing of this msg
|
|
|
|
|
|
|
|
if (flags & pfKIMsg::kInterAgeMsg) |
|
|
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge ); |
|
|
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge ); |
|
|
|
} |
|
|
|
|
|
|
|
// add net rcvrs to msg
|
|
|
|
// add net rcvrs to msg
|
|
|
|
for ( int i = 0 ; i < tolist.size() ; i++ ) |
|
|
|
for ( int i = 0 ; i < tolist.size() ; i++ ) |
|
|
|
{ |
|
|
|
{ |
|
|
|