mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Merge pull request #273 from 'paradox/clang'
Conflicts: Sources/Tools/MaxConvert/Pch.h Sources/Tools/MaxConvert/hsControlConverter.cpp
This commit is contained in:
@ -559,7 +559,7 @@ int plNetClientMgr::Update(double secs)
|
||||
//
|
||||
void plNetClientMgr::ICheckPendingStateLoad(double secs)
|
||||
{
|
||||
if (!fPendingLoads.empty() && GetFlagsBit( kPlayingGame ) || (GetFlagsBit(kLoadingInitialAgeState) && !GetFlagsBit(kNeedInitialAgeStateCount)))
|
||||
if ((!fPendingLoads.empty() && GetFlagsBit(kPlayingGame)) || (GetFlagsBit(kLoadingInitialAgeState) && !GetFlagsBit(kNeedInitialAgeStateCount)))
|
||||
{
|
||||
PendingLoadsList::iterator it = fPendingLoads.begin();
|
||||
while ( it!=fPendingLoads.end() )
|
||||
@ -1135,8 +1135,8 @@ plString plNetClientMgr::GetPlayerNameById (unsigned playerId) const {
|
||||
unsigned plNetClientMgr::GetPlayerIdByName (const plString & name) const {
|
||||
// local case
|
||||
if (0 == name.Compare(NetCommGetPlayer()->playerNameAnsi))
|
||||
NetCommGetPlayer()->playerInt;
|
||||
|
||||
return NetCommGetPlayer()->playerInt;
|
||||
|
||||
unsigned n = TransportMgr().GetNumMembers();
|
||||
for (unsigned i = 0; i < n; ++i)
|
||||
if (plNetTransportMember * member = TransportMgr().GetMember(i))
|
||||
|
Reference in New Issue
Block a user