Bug 571: Take tilemap movement into account when handling unisolid tiles for collisio...
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 31 Jan 2010 22:50:40 +0000 (22:50 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sun, 31 Jan 2010 22:50:40 +0000 (22:50 +0000)
commitf33495782c4b02b30758428bdbd7b0b414c39945
treeecada0709d94166884d3e46a981f2180147b9b0d
parent1ddeacb83033823ef6153292e140045ae6f13e73
Bug 571: Take tilemap movement into account when handling unisolid tiles for collision detection.

As Mathnerd314 has pointed out on IRC, checking (movement.y >= 0) is not
correct when the tilemap containing the unisolid tile is moving. In this case,
the relative speed should be considered.

Resolves #571.

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