projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ryan was right, Tux was firing from the head :D
[supertux.git]
/
src
/
collision.cpp
diff --git
a/src/collision.cpp
b/src/collision.cpp
index
2466d8c
..
5f08756
100644
(file)
--- a/
src/collision.cpp
+++ b/
src/collision.cpp
@@
-263,6
+263,12
@@
bool isice(float x, float y)
return tile && tile->ice;
}
+bool isspike(float x, float y)
+{
+ Tile* tile = gettile(x,y);
+ return tile && tile->spike;
+}
+
bool isfullbox(float x, float y)
{
Tile* tile = gettile(x,y);