diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/viewport.cpp | |
parent | b8885630aa9942ea924ffb6eeabc266140485435 (diff) | |
download | openttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.tar.xz |
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index 57f09c926..21ce36560 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -179,7 +179,7 @@ void AssignWindowViewport(Window *w, int x, int y, 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 @@ void AddSortableSpriteToDraw(SpriteID image, SpriteID pal, int x, int y, int w, /* 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 @@ void AddChildSpriteScreen(SpriteID image, SpriteID pal, int x, int y, bool trans /* make the sprites transparent with the right palette */ if (transparent) { - SETBIT(image, PALETTE_MODIFIER_TRANSPARENT); + SetBit(image, PALETTE_MODIFIER_TRANSPARENT); pal = PALETTE_TO_TRANSPARENT; } |