From ae370512a134264db3e6294fc4e3d41e3bdc5126 Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Mon, 24 Apr 2006 07:26:14 +0000 Subject: [PATCH] use proper enum SVN-Revision: 3411 --- src/badguy/badguy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0