fixed, I think... stupid alphacolors.
It's committed to CVS, file revision 2.1; the patch is below FYI:
@@ -1058,10 +1061,10 @@
void hud_config_render_gauges()
{
int i;
- color *use_color;
- int alpha;
for ( i=0; i+ color *use_color;
+ int alpha;
if ( (hud_config_show_flag_is_set(i)) ) {
// set the correct color
if(!HC_gauge_regions[gr_screen.res][i].use_iff){
@@ -1085,8 +1088,9 @@
gr_set_color_fast(use_color);
} else {
// if its off, make it dark gray
- gr_init_alphacolor(use_color, 127, 127, 127, 64);
- gr_set_color_fast(use_color);
+ static color use_color;
+ gr_init_alphacolor(&use_color, 127, 127, 127, 64);
+ gr_set_color_fast(&use_color);
}
// draw