comparison Gui/skin/skin.c @ 3479:2704448de713

fs button bug fix
author pontscho
date Thu, 13 Dec 2001 00:25:08 +0000
parents 182163807172
children a0009a534428
comparison
equal deleted inserted replaced
3478:e518999fa7e7 3479:2704448de713
704 if ( appMPlayer.Items[j].used ) continue; 704 if ( appMPlayer.Items[j].used ) continue;
705 switch ( appMPlayer.Items[j].type ) 705 switch ( appMPlayer.Items[j].type )
706 { 706 {
707 case itButton: 707 case itButton:
708 appMPlayer.Items[j].pressed=(int)state; 708 appMPlayer.Items[j].pressed=(int)state;
709 appMPlayer.Items[j].tmp=(int)state;
709 break; 710 break;
710 case itPotmeter: 711 case itPotmeter:
711 case itHPotmeter: 712 case itHPotmeter:
712 if ( state < 0.0f ) state=0.0f; 713 if ( state < 0.0f ) state=0.0f;
713 if ( state > 100.f ) state=100.0f; 714 if ( state > 100.f ) state=100.0f;