supertux/sector.cpp: Use Rectf::distance().
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 28 Feb 2010 10:52:17 +0000 (10:52 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 28 Feb 2010 10:52:17 +0000 (10:52 +0000)
commit6c2a4cb4a47ddf6917cf57a6aea6f192be48e976
treedd5f3d10c4164664123c40a2a21b3fc13f6534e7
parent4a6701bd3dbd29530451f728126d30edb89eaddb
supertux/sector.cpp: Use Rectf::distance().

This is a lot cleaner.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6448 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/supertux/sector.cpp