Owl: Add an offset to the "is_above_player()" method.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 6 Mar 2010 17:16:38 +0000 (17:16 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Sat, 6 Mar 2010 17:16:38 +0000 (17:16 +0000)
commit6ead23f303b772ace327abc7cbfc9b33b6d8c9ad
tree7481e3e406b573233e2f0c4954dba475727bfd03
parent32bc2fa949c1bd7f415beb07187b641a2c3507e5
Owl: Add an offset to the "is_above_player()" method.

This way it is more likely that the thrown object will hit Tux. Also, the
standard "collision_player()" method from BadGuy will be used. There's no need
for the hack copied from the "Kamikaze Snowball".

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6563 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/badguy/owl.cpp
src/badguy/owl.hpp