From: Martin Read Date: Wed, 19 Feb 2014 01:44:44 +0000 (+0000) Subject: Remove unnecessary call to newsym() in fov.cc X-Git-Tag: stretchy-levels~6 X-Git-Url: http://git.blackswordsonics.com/?a=commitdiff_plain;h=d2de0d9183e10365b5cf1c0b887a6f4bcc69d394;p=victrix-abyssi 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(). --- 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; }