From 518ad5caf2cbf313cb784d9fd1a51632fe600fae Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Thu, 2 Jan 2020 17:28:15 +0000 Subject: Fix for invisible enemies - Don't double-count visibility - Set enemies visibility with LOS - Set dirty flag when enemies are revealed --- src/main.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e45701a..f17b9cf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,6 @@ fn main() { let mut reader = input.read_sync(); loop { - state.render_player(); state.render_level(); state.render_entities(); state.render_player(); -- cgit v1.2.3