mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
separator fix, fix draw outside map
This commit is contained in:
@@ -159,6 +159,12 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool contains(const TRect<T> &r, bool insideOnly = false) const {
|
||||
if(contains(r.topLeft(), insideOnly) && contains(r.bottomRight(), insideOnly))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool intersects(const TRect<T> &r) const {
|
||||
if(isNull() || r.isNull())
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user