626 {
627 if (locations.Count() > 0)
628 {
630 {
632 {
633 #ifdef ENABLE_LOGGING
634 DMPDebugPrint(string.Format("Player inside location <%1, %2>", location.m_Min, location.m_Max));
635 #endif
636 return true;
637 }
638 }
639 }
640
641 return false;
642 }
static proto bool IsPointInRectangle(vector mi, vector ma, vector p)
Returns if point is inside rectangle.