about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorShereef Marzouk <GreYFoXGTi@Gmail.cim>2011-08-02 12:14:00 +0200
committerShereef Marzouk <GreYFoXGTi@Gmail.cim>2011-08-02 12:14:00 +0200
commit29de27f9dd761801b1bc617a0ea96680c83ece71 (patch)
tree5d575f6fbb79dffa37b7e488b6ba53ff3211d9c5 /src
parent50edfd37c0ed57ff793b79d06edd0bde1f6cf1bd (diff)
downloadzcatch-29de27f9dd761801b1bc617a0ea96680c83ece71.tar.gz
zcatch-29de27f9dd761801b1bc617a0ea96680c83ece71.zip
Used the enum const TILESLAYERFLAG_GAME instead of 1
Diffstat (limited to 'src')
-rw-r--r--src/game/layers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/layers.cpp b/src/game/layers.cpp
index 82c0a61b..6deb0829 100644
--- a/src/game/layers.cpp
+++ b/src/game/layers.cpp
@@ -29,7 +29,7 @@ void CLayers::Init(class IKernel *pKernel)
 			if(pLayer->m_Type == LAYERTYPE_TILES)
 			{
 				CMapItemLayerTilemap *pTilemap = reinterpret_cast<CMapItemLayerTilemap *>(pLayer);
-				if(pTilemap->m_Flags&1)
+				if(pTilemap->m_Flags&TILESLAYERFLAG_GAME)
 				{
 					m_pGameLayer = pTilemap;
 					m_pGameGroup = pGroup;