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