mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
Mac OS X 10.6 & More C++03 Support (#68)
* Mac OS X 10.6 & More C++03 Support * Fix SDL2 options.txt loading for C++03 --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
@@ -219,7 +219,7 @@ void RakNetInstance::runEvents(NetEventCallback* callback)
|
||||
int timeDiff = RakNet::GetTimeMS() - m_startedPingingAt;
|
||||
if (timeDiff > 1000)
|
||||
{
|
||||
for (auto it = m_servers.begin(); it != m_servers.end(); )
|
||||
for (std::vector<PingedCompatibleServer>::iterator it = m_servers.begin(); it != m_servers.end(); )
|
||||
{
|
||||
if (RakNet::GetTimeMS() - it->m_lastPinged <= 3000)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user