From d2de0d9183e10365b5cf1c0b887a6f4bcc69d394 Mon Sep 17 00:00:00 2001 From: Martin Read Date: Wed, 19 Feb 2014 01:44:44 +0000 Subject: [PATCH] Remove unnecessary call to newsym() in fov.cc As part of the general crusade to stop game logic directly calling into display-nc.cc (so that notify-local-tty.cc and display-nc.cc can be replaced with something that has a completely different interaction paradigm e.g. a network client), the call to newsym() in fov.cc has been removed. It was, in any event, superfluous because the only call to compute_fov() was immediately followed by a call to touch_back_buffer(). --- fov.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/fov.cc b/fov.cc index d542265..18730ac 100644 --- a/fov.cc +++ b/fov.cc @@ -78,7 +78,6 @@ static bool dflt_blk(Coord c) static bool mark_explored(Coord c, void *pvt) { lvl.set_flags_at(c, MAPFLAG_EXPLORED); - newsym(c); return true; } -- 2.11.0