mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Obliterate hsBool
This commit is contained in:
@ -179,7 +179,7 @@ void plNetClientMgr::ISendCCRPetition(plCCRPetitionMsg* petMsg)
|
||||
//
|
||||
// send a msg to reset the camera in a new age
|
||||
//
|
||||
void plNetClientMgr::ISendCameraReset(hsBool bEnteringAge)
|
||||
void plNetClientMgr::ISendCameraReset(bool bEnteringAge)
|
||||
{
|
||||
plCameraMsg* pCamMsg = new plCameraMsg;
|
||||
if (bEnteringAge)
|
||||
@ -314,9 +314,9 @@ int plNetClientMgr::ISendGameMessage(plMessage* msg)
|
||||
|
||||
// check if this msg uses direct communication (sent to specific rcvrs)
|
||||
// if so the server can filter it
|
||||
hsBool bCast = msg->HasBCastFlag(plMessage::kBCastByExactType) ||
|
||||
bool bCast = msg->HasBCastFlag(plMessage::kBCastByExactType) ||
|
||||
msg->HasBCastFlag(plMessage::kBCastByType);
|
||||
hsBool directCom = msg->GetNumReceivers()>0;
|
||||
bool directCom = msg->GetNumReceivers()>0;
|
||||
if( directCom )
|
||||
{
|
||||
// It's direct if we have receivers AND any of them are in non-virtual locations
|
||||
@ -357,7 +357,7 @@ int plNetClientMgr::ISendGameMessage(plMessage* msg)
|
||||
//
|
||||
// CCRs can route a plMessage to all online players.
|
||||
//
|
||||
hsBool ccrSendToAllPlayers = false;
|
||||
bool ccrSendToAllPlayers = false;
|
||||
#ifndef PLASMA_EXTERNAL_RELEASE
|
||||
if ( AmCCR() )
|
||||
{
|
||||
@ -373,7 +373,7 @@ int plNetClientMgr::ISendGameMessage(plMessage* msg)
|
||||
//
|
||||
if ( !ccrSendToAllPlayers )
|
||||
{
|
||||
hsBool allowInterAge = msg->HasBCastFlag( plMessage::kNetAllowInterAge );
|
||||
bool allowInterAge = msg->HasBCastFlag( plMessage::kNetAllowInterAge );
|
||||
if ( allowInterAge )
|
||||
netMsgWrap->SetBit(plNetMessage::kInterAgeRouting);
|
||||
}
|
||||
|
Reference in New Issue
Block a user