projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a22fd2
)
use proper enum
author
Ryan Flegel
<rflegel@gmail.com>
Mon, 24 Apr 2006 07:26:14 +0000
(07:26 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Mon, 24 Apr 2006 07:26:14 +0000
(07:26 +0000)
SVN-Revision: 3411
src/badguy/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/badguy.cpp
b/src/badguy/badguy.cpp
index
fa572a1
..
e623054
100644
(file)
--- a/
src/badguy/badguy.cpp
+++ b/
src/badguy/badguy.cpp
@@
-349,7
+349,8
@@
BadGuy::may_fall_off_platform()
// Now, if the badguy intersects with a tile, he won't fall off.
// If he doesn't intersect, he probably will.
// Note that the tile's Y coordinate is offset by +1 from the object's Y.
- if (Sector::current()->solids->get_tile(tile_x, tile_y)->getAttributes() & FLAG_SOLID)
+ if (Sector::current()->solids->get_tile(tile_x, tile_y)->getAttributes()
+ & Tile::SOLID)
{
// It's a solid tile. Good.
return false;