aboutsummaryrefslogtreecommitdiff
path: root/src/entities.rs
diff options
context:
space:
mode:
authorGuillaume Pasquet <guillaume@bitimplosion.com>2021-05-20 21:58:47 +0100
committerGuillaume Pasquet <guillaume@bitimplosion.com>2021-05-20 21:58:47 +0100
commit221ab81a5259acf4d4a0d311a6315979788dc1bf (patch)
tree50b542a9db41c6b23bd011b9f61a3cd851892329 /src/entities.rs
parent0e5687836fc71d3a087e27dac673ca050d99a195 (diff)
Simplify fog-of-war logic, add lighting.
Diffstat (limited to 'src/entities.rs')
-rw-r--r--src/entities.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities.rs b/src/entities.rs
index 98c8443..5908092 100644
--- a/src/entities.rs
+++ b/src/entities.rs
@@ -181,6 +181,7 @@ impl Player for Character {
TileType::Player,
true, // player is visible by default
false,
+ true
),
dirty: false,
}