diff options
| author | oy <tom_adams@web.de> | 2011-08-03 13:50:48 -0700 |
|---|---|---|
| committer | oy <tom_adams@web.de> | 2011-08-03 13:50:48 -0700 |
| commit | 558f62f8107192c90696bf59d12c92ffcd176685 (patch) | |
| tree | eb260ba6f85e46164a46ea3f674fb09246c6ac7f /src/game/layers.cpp | |
| parent | 50edfd37c0ed57ff793b79d06edd0bde1f6cf1bd (diff) | |
| parent | 8877cf229301f868edb425131035b5a7db2adcf6 (diff) | |
| download | zcatch-558f62f8107192c90696bf59d12c92ffcd176685.tar.gz zcatch-558f62f8107192c90696bf59d12c92ffcd176685.zip | |
Merge pull request #813 from GreYFoX/oypull
Minor and not important changes, but useful
Diffstat (limited to 'src/game/layers.cpp')
| -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; |