projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Calculate foremost layer correctly (previous implementation didn't work at all)
[supertux.git]
/
src
/
object
/
infoblock.hpp
diff --git
a/src/object/infoblock.hpp
b/src/object/infoblock.hpp
index
91ae5ba
..
8648566
100644
(file)
--- a/
src/object/infoblock.hpp
+++ b/
src/object/infoblock.hpp
@@
-33,6
+33,7
@@
public:
protected:
virtual void hit(Player& player);
+ virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
Player* get_nearest_player();
protected: