Bug 456: Avoid hurting Tux in a ravine.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 30 Jan 2010 09:23:14 +0000 (09:23 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 30 Jan 2010 09:23:14 +0000 (09:23 +0000)
commitb1f25a26aac8424fb5ac8f05e7dba5c61ea9be98
tree53b6485b47071d55eb43389e594df07898d7924c
parent0fec99a69347c8a7854e6fd787bfc5fb9561d05e
Bug 456: Avoid hurting Tux in a ravine.

- Fix blooper where slope constraints overwrote previously calculated
  constraints.
- Make static collision detection symmetrical left-right.

There are still a lot of things wrong with static collision detection,
which I hope to fix later.

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