Restrict bright players feature to OBJ_PLAYER

This commit is contained in:
zico 2013-12-20 09:21:42 +01:00
parent 35266309d0
commit 9efd5ecaef

View file

@ -394,7 +394,7 @@ static void draw_polygon_object(object *obj)
light = compute_object_light(obj,NULL);
// If option set for bright players in netgame, brighten them!
if (Game_mode & GM_MULTI)
if ((Game_mode & GM_MULTI) && (obj->type == OBJ_PLAYER))
if (Netgame.BrightPlayers)
light.r = light.g = light.b = F1_0*2;