mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-25 18:24:27 +00:00
lineofsight:: fixup, don't turn it on automatically
This commit is contained in:
1 parent
cdb5c338f1
commit
58a09d263d
1 file changed
-1
@@ -974,7 +974,6 @@ EX bool in_line_of_sight_for_player(cell *c) {
|
||||
|
||||
EX void create_los() {
|
||||
current_fov.clear();
|
||||
if(lineofsight == los::none) lineofsight = los::geometric;
|
||||
if(lineofsight == los::geodesic) {
|
||||
for(auto c: dcal) {
|
||||
if(c->cpdist == 0) current_fov[c] |= 3;
|
||||
|
||||
Reference in new issue
Block a user