From: Ryan Flegel Date: Mon, 24 Apr 2006 07:26:14 +0000 (+0000) Subject: use proper enum X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=ae370512a134264db3e6294fc4e3d41e3bdc5126;p=supertux.git use proper enum SVN-Revision: 3411 --- diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index fa572a1d6..e623054af 100644 --- 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;