changeset 46 | 4b9e1ac40246 |
parent 45 | 7197576fedcf |
child 54 | c064ce9f40f5 |
--- a/pmc/rectangle.cc +++ b/pmc/rectangle.cc @@ -63,9 +63,9 @@ if ((anker.Y () + location.Y ()) < 0) return; - if ((anker.X () + location.X ()) >= surface->getWidth ()) + if ((anker.X () + location.X ()) > surface->getWidth ()) return; - if ((anker.Y () + location.Y ()) >= surface->getHeight ()) + if ((anker.Y () + location.Y ()) > surface->getHeight ()) return; for (int i = 0; i < 4; i++) {