--- deliantra/server/common/los.C 2009/01/08 22:35:00 1.58 +++ deliantra/server/common/los.C 2009/01/11 06:08:40 1.60 @@ -1,7 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team * Copyright (©) 1992,2007 Frank Tore Johansen * @@ -405,7 +405,7 @@ else // outdoor and darkness <= 0 => start wide and decrease quickly light = lerp (maptile::outdoor_darkness + op->map->darkness, 0, MAX_DARKNESS, MAX_VISION, 2); - light = clamp (light, 0, MAX_VISION); + light = clamp (light + bonus, 0, MAX_VISION); apply_light (pl, 0, 0, light, vision_atten [light]); }