Compensate for float losses (would decrease gamma by 0.05 on save sometimes). -- Pick another fortune cookie.
diff -rN -ud old-wz/src/keybind.c new-wz/src/keybind.c --- old-wz/src/keybind.c 2006-10-08 23:39:04.495036027 +0200 +++ new-wz/src/keybind.c 2006-10-08 23:39:05.128946123 +0200 @@ -409,7 +409,7 @@ /* Raises the 3dfx gamma value */ void kf_RaiseGamma( void ) { - gammaValue += 0.05; + gammaValue += 0.050001; pie_SetGammaValue(gammaValue); } @@ -418,7 +418,7 @@ /* Lowers the threedfx gamma value */ void kf_LowerGamma( void ) { - gammaValue -= 0.05; + gammaValue -= 0.049999; pie_SetGammaValue(gammaValue); }
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev