Mercurial > hg > openttd
diff src/viewport.cpp @ 7931:44ff7a6d801f draft
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
author | skidd13 <skidd13@openttd.org> |
---|---|
date | Tue, 20 Nov 2007 13:35:54 +0000 (2007-11-20) |
parents | 4d13dbed828c |
children | f6ffbf027b5a |
line wrap: on
line diff
--- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -179,7 +179,7 @@ assert(vp != endof(_viewports)); if (vp->width == 0) break; } - SETBIT(_active_viewports, bit); + SetBit(_active_viewports, bit); vp->left = x + w->left; vp->top = y + w->top; @@ -627,7 +627,7 @@ /* make the sprites transparent with the right palette */ if (transparent) { - SETBIT(image, PALETTE_MODIFIER_TRANSPARENT); + SetBit(image, PALETTE_MODIFIER_TRANSPARENT); pal = PALETTE_TO_TRANSPARENT; } @@ -739,7 +739,7 @@ /* make the sprites transparent with the right palette */ if (transparent) { - SETBIT(image, PALETTE_MODIFIER_TRANSPARENT); + SetBit(image, PALETTE_MODIFIER_TRANSPARENT); pal = PALETTE_TO_TRANSPARENT; }