Do not test for TILESTATE_NONE

This flag is ALWAYS set, cause it's always 0 i put there by mistake.
It causes an issue by simplying drawing everything dark, cause of
the opacity...
This commit is contained in:
Ahmed Samy 2013-12-27 05:08:48 +02:00
parent 17c4d59b15
commit ab21558c47
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ 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,