diff options
| author | Shereef Marzouk <GreYFoXGTi@Gmail.cim> | 2011-08-02 12:14:00 +0200 |
|---|---|---|
| committer | Shereef Marzouk <GreYFoXGTi@Gmail.cim> | 2011-08-02 12:14:00 +0200 |
| commit | 29de27f9dd761801b1bc617a0ea96680c83ece71 (patch) | |
| tree | 5d575f6fbb79dffa37b7e488b6ba53ff3211d9c5 | |
| parent | 50edfd37c0ed57ff793b79d06edd0bde1f6cf1bd (diff) | |
| download | zcatch-29de27f9dd761801b1bc617a0ea96680c83ece71.tar.gz zcatch-29de27f9dd761801b1bc617a0ea96680c83ece71.zip | |
Used the enum const TILESLAYERFLAG_GAME instead of 1
| -rw-r--r-- | src/game/layers.cpp | 2 |
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; |