projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fdd9e
)
Fixed collision with unisold tiles.
author
Wolfgang Becker
<uafr@gmx.de>
Sun, 25 Jun 2006 14:11:58 +0000
(14:11 +0000)
committer
Wolfgang Becker
<uafr@gmx.de>
Sun, 25 Jun 2006 14:11:58 +0000
(14:11 +0000)
SVN-Revision: 3743
src/sector.cpp
patch
|
blob
|
history
diff --git
a/src/sector.cpp
b/src/sector.cpp
index
c0c7b63
..
f0463d8
100644
(file)
--- a/
src/sector.cpp
+++ b/
src/sector.cpp
@@
-787,7
+787,7
@@
Sector::collision_tilemap(const Rect& dest, const Vector& movement,
// only handle unisolid when the player is falling down and when he was
// above the tile before
if(tile->getAttributes() & Tile::UNISOLID) {
- if(movement.y < 0 || dest.get_top() - movement.y > y*32)
+ if(movement.y <
=
0 || dest.get_top() - movement.y > y*32)
continue;
}