Changeset - r8658:a4238b2050b2
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-02-29 15:20:02
peter1138@openttd.org
(svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/transparency.h
Show inline comments
 
@@ -66,7 +66,7 @@ static inline void ResetRestoreAllTransp
 
	/* if none of the non-locked options are set */
 
	if ((_transparency_opt & ~_transparency_lock) == 0) {
 
		/* set all non-locked options */
 
		_transparency_opt |= ~_transparency_lock;
 
		_transparency_opt |= GB(~_transparency_lock, 0, TO_END);
 
	} else {
 
		/* clear all non-locked options */
 
		_transparency_opt &= _transparency_lock;
0 comments (0 inline, 0 general)