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:
parent
17c4d59b15
commit
ab21558c47
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue