Inline the sole use of MAX_FLICKERING_LIGHTS

This commit is contained in:
Kp 2017-03-18 18:07:36 +00:00
parent 829e95b6f8
commit 8d6594effe

View file

@ -273,9 +273,7 @@ struct flickering_light {
fix delay; // time between changes
};
#define MAX_FLICKERING_LIGHTS 100
typedef array<flickering_light, MAX_FLICKERING_LIGHTS> Flickering_light_array_t;
using Flickering_light_array_t = array<flickering_light, 100>;
extern Flickering_light_array_t Flickering_lights;
extern unsigned Num_flickering_lights;
extern int BigWindowSwitch;