diff --git a/src/xrCore/_rect.h b/src/xrCore/_rect.h index 68169082c4f..fa34b63e52f 100644 --- a/src/xrCore/_rect.h +++ b/src/xrCore/_rect.h @@ -89,7 +89,7 @@ typedef _rect Irect; template BOOL _valid(const _rect& m) { - return lt._valid() && rb._valid(); + return m.lt._valid() && m.rb._valid(); } #endif