(svn r3184) GB/SB

This commit is contained in:
tron
2005-11-15 08:49:46 +00:00
parent ba9157fbbc
commit 84a16a0b30
7 changed files with 13 additions and 13 deletions

View File

@@ -223,10 +223,10 @@ void DrawWindowWidgets(const Window *w)
DrawFrameRect(r.left, r.top, r.right, r.bottom, wi->color, (clicked) ? FR_LOWERED : 0);
c = (wi->unkA&0xFF);
c = GB(wi->unkA, 0, 8);
amt1 = (wi->right - wi->left + 1) / c;
d = (wi->unkA >> 8);
d = GB(wi->unkA, 8, 8);
amt2 = (wi->bottom - wi->top + 1) / d;
color = _color_list[wi->color & 0xF].window_color_bgb;