Bug 571: Take tilemap movement into account when handling unisolid tiles for collisio...
authorFlorian Forster <supertux@octo.it>
Sun, 31 Jan 2010 22:50:40 +0000 (22:50 +0000)
committerFlorian Forster <supertux@octo.it>
Sun, 31 Jan 2010 22:50:40 +0000 (22:50 +0000)
commit378447cea0cae6d79ad3ea2810d55fc67355eebd
treeecada0709d94166884d3e46a981f2180147b9b0d
parent0ce26722d9039a6b33ad31e33a3c8acb2b8b24b0
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.

SVN-Revision: 6303
src/supertux/sector.cpp