… | |
… | |
1064 | /* This could be made additive I guess (two lights better than |
1064 | /* This could be made additive I guess (two lights better than |
1065 | * one). But if so, it shouldn't be a simple additive - 2 |
1065 | * one). But if so, it shouldn't be a simple additive - 2 |
1066 | * light bulbs do not illuminate twice as far as once since |
1066 | * light bulbs do not illuminate twice as far as once since |
1067 | * it is a dissapation factor that is cubed. |
1067 | * it is a dissapation factor that is cubed. |
1068 | */ |
1068 | */ |
1069 | if (tmp->glow_radius > light) |
|
|
1070 | light = tmp->glow_radius; |
1069 | light = max (light, tmp->glow_radius); |
1071 | |
1070 | |
1072 | /* This call is needed in order to update objects the player |
1071 | /* This call is needed in order to update objects the player |
1073 | * is standing in that have animations (ie, grass, fire, etc). |
1072 | * is standing in that have animations (ie, grass, fire, etc). |
1074 | * However, it also causes the look window to be re-drawn |
1073 | * However, it also causes the look window to be re-drawn |
1075 | * 3 times each time the player moves, because many of the |
1074 | * 3 times each time the player moves, because many of the |