(svn r13102) -Codechange: make a class of the NewsWindow.

This commit is contained in:
rubidium
2008-05-15 13:47:55 +00:00
parent f8d02c7d71
commit ca8d282eff
5 changed files with 143 additions and 154 deletions

View File

@@ -592,8 +592,6 @@ static void PlayersCheckBankrupt(Player *p)
void DrawNewsBankrupcy(Window *w, const NewsItem *ni)
{
DrawNewsBorder(w);
Player *p = GetPlayer((PlayerID)GB(ni->data_b, 0, 4));
DrawPlayerFace(p->face, p->player_color, 2, 23);
GfxFillRect(3, 23, 3 + 91, 23 + 118, PALETTE_TO_STRUCT_GREY | (1 << USE_COLORTABLE));