diff options
author | Guillaume Pasquet <dev@etenil.net> | 2020-03-14 16:44:47 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2020-03-14 16:44:47 +0000 |
commit | 9d1de3f314a2f63a8f58e3ad2018c5a32472a67a (patch) | |
tree | 2c4470ea15c74de8bdff359c5d191cb850cea701 /src/state.rs | |
parent | 518ad5caf2cbf313cb784d9fd1a51632fe600fae (diff) | |
parent | 0191b3a881027bcb6d6210e010841664dae4204b (diff) |
Merge branch 'master' into fix-invisible-enemies
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs index 6f91d27..40c66f6 100644 --- a/src/state.rs +++ b/src/state.rs @@ -6,7 +6,7 @@ use crate::entities::{Character, Entity, Player}; use crate::tiling::{tile_to_str, Tile, TileGrid, TileType}; use crate::world::{apply_movement, Dungeon, Generatable, Level, Movement}; -const PLAYER_SIGHT: usize = 5; +const PLAYER_SIGHT: usize = 3; pub struct State { pub player: Character, |