Example #1
0
void CMapManager::DoRespawning ( void )
{
    // Time to do the next search for respawnable things?
    if ( GetTime () >= m_ulLastRespawnTime + 1000 )
    {
        // Update the time
        m_ulLastRespawnTime = GetTime ();

        // Do the respawning
        DoPickupRespawning ();
        DoVehicleRespawning ();
    }
}
Example #2
0
void CMapManager::DoRespawning ( void )
{
    // Time to do the next search for respawnable things?
    if ( SharedUtil::GetModuleTickCount64 () >= m_llLastRespawnTime + 1000 )
    {
        // Update the time
        m_llLastRespawnTime = SharedUtil::GetModuleTickCount64 ();

        // Do the respawning
        DoPickupRespawning ();
        DoVehicleRespawning ();
    }
}