projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed 'When you jump into the roof or a bonus and fall back down you collide with...
[supertux.git]
/
src
/
collision.cpp
diff --git
a/src/collision.cpp
b/src/collision.cpp
index
5f08756
..
58c48c6
100644
(file)
--- a/
src/collision.cpp
+++ b/
src/collision.cpp
@@
-251,6
+251,13
@@
bool issolid(float x, float y)
return tile && tile->solid;
}
+bool isunisolid(float x, float y)
+{
+ Tile* tile = gettile(x,y);
+ return tile && tile->unisolid;
+}
+
+
bool isbrick(float x, float y)
{
Tile* tile = gettile(x,y);