Add more tile flags to be checked for

This commit is contained in:
Ahmed Samy 2013-12-14 19:28:08 +02:00
parent eb4fb4ff41
commit ec2518525a
1 changed files with 5 additions and 1 deletions

View File

@ -45,11 +45,15 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
/* Flags to be checked for. */ /* Flags to be checked for. */
static const tileflags_t flags[] = { static const tileflags_t flags[] = {
TILESTATE_NONE,
TILESTATE_HOUSE, TILESTATE_HOUSE,
TILESTATE_PROTECTIONZONE, TILESTATE_PROTECTIONZONE,
TILESTATE_OPTIONALZONE, TILESTATE_OPTIONALZONE,
TILESTATE_HARDCOREZONE, TILESTATE_HARDCOREZONE,
TILESTATE_NOLOGOUT TILESTATE_REFRESH,
TILESTATE_NOLOGOUT,
TILESTATE_TRANSLUECENT_LIGHT,
TILESTATE_LAST
}; };
// first bottom items // first bottom items