From fc0297d6dbc79b4748041696bf76d5e661be2d25 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Tue, 12 Nov 2013 20:07:46 -0200 Subject: [PATCH] Fix compile errors in ubuntu --- src/client/tile.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/tile.h b/src/client/tile.h index 0ef41506..e2688d1d 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -112,9 +112,9 @@ public: bool hasElevation(int elevation = 1); void overwriteMinimapColor(uint8 color) { m_minimapColor = color; } - void setFlag(tileflags_t flag) { m_flags |= (uint32)flag; } - void setFlags(tileflags_t flags) { m_flags = (uint32)flags; } - bool hasFlag(tileflags_t flag) { return (m_flags & flag) == flag; } + void setFlag(uint32 flag) { m_flags |= flag; } + void setFlags(uint32 flags) { m_flags = flags; } + bool hasFlag(uint32 flag) { return (m_flags & flag) == flag; } uint32 getFlags() { return m_flags; } void setHouseId(uint32 hid) { m_houseId = hid; }