bool CCSBot::GuardRandomZone(float range) { CCSBotManager *ctrl = TheCSBots(); const CCSBotManager::Zone *zone = ctrl->GetRandomZone(); if (zone != NULL) { CNavArea *rescueArea = ctrl->GetRandomAreaInZone(zone); if (rescueArea != NULL) { Hide(rescueArea, -1.0f, range); return true; } } return false; }