Owl: Add an offset to the "is_above_player()" method.
authorFlorian Forster <supertux@octo.it>
Sat, 6 Mar 2010 17:16:38 +0000 (17:16 +0000)
committerFlorian Forster <supertux@octo.it>
Sat, 6 Mar 2010 17:16:38 +0000 (17:16 +0000)
commit7e479e66b4f8b4aac384e5a157d3f977c77d8650
tree7481e3e406b573233e2f0c4954dba475727bfd03
parentba5abe85ff8b022c63e38dc2b1c04ffe07731baf
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".

SVN-Revision: 6563
src/badguy/owl.cpp
src/badguy/owl.hpp