Problem
I've placed some lights with targets (I don't know exactly if it causes the problem or not). Then when I complied I got this error.
StyleNum == MAX_SWITCHED_LIGHTS
What does this mean? [3tehakanyuksel]
Solution
This occurs with targeted lights. It's a Quake/Quake 2 vestige where targetnames were indexed for lightstyles. Since Quake 3 has no lightstyles (no flickering lights), you can't target light entities. [ydnar]