mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Death to a hardcoded konstant!
This commit is contained in:
@ -161,7 +161,7 @@ class pfKIMsg : public plMessage
|
|||||||
kPrivateMsg = 0x00000001,
|
kPrivateMsg = 0x00000001,
|
||||||
kAdminMsg = 0x00000002,
|
kAdminMsg = 0x00000002,
|
||||||
kDead = 0x00000004,
|
kDead = 0x00000004,
|
||||||
kUNUSED1 = 0x00000008,
|
kInterAgeMsg = 0x00000008,
|
||||||
kStatusMsg = 0x00000010,
|
kStatusMsg = 0x00000010,
|
||||||
kNeighborMsg = 0x00000020, // sending to all the neighbors
|
kNeighborMsg = 0x00000020, // sending to all the neighbors
|
||||||
kChannelMask = 0x0000ff00
|
kChannelMask = 0x0000ff00
|
||||||
|
@ -1122,7 +1122,7 @@ uint32_t cyMisc::SendRTChat(pyPlayer& from, const std::vector<pyPlayer*> & tolis
|
|||||||
|
|
||||||
if (tolist.size() > 0)
|
if (tolist.size() > 0)
|
||||||
{
|
{
|
||||||
if (flags & 8/* kRTChatInterAge in PlasmaKITypes.py */)
|
if (flags & pfKIMsg::kInterAgeMsg)
|
||||||
{
|
{
|
||||||
// allow inter-age routing of this msg
|
// allow inter-age routing of this msg
|
||||||
msg->SetBCastFlag( plMessage::kNetAllowInterAge );
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge );
|
||||||
@ -1156,7 +1156,7 @@ uint32_t cyMisc::SendRTChat(pyPlayer& from, const std::vector<pyPlayer*> & tolis
|
|||||||
|
|
||||||
if (tolist.size() > 0)
|
if (tolist.size() > 0)
|
||||||
{
|
{
|
||||||
if (flags & 8/* kRTChatInterAge in PlasmaKITypes.py */)
|
if (flags & pfKIMsg::kInterAgeMsg)
|
||||||
{
|
{
|
||||||
// allow inter-age routing of this msg
|
// allow inter-age routing of this msg
|
||||||
msg->SetBCastFlag( plMessage::kNetAllowInterAge );
|
msg->SetBCastFlag( plMessage::kNetAllowInterAge );
|
||||||
|
Reference in New Issue
Block a user