mana/manaserv — comment on commit 0228543e6602177d933f6c88de56601201a8ab76
File: src/utils/point.h line 80
By bjorn:

Apparently the original version before you moved it in commit 8ff3e6674c1d4fc05fc1ba87f42484689fca0879 of this went like:

bool contains(const Point &p) const
{
return (unsigned short)(p.x - x) < w &&
(unsigned short)(p.y - y) < h;
}

So it used a cast to 'unsigned' to avoid the two additional comparisons. But when the cast was removed, this check broke.