(svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE

This commit is contained in:
bjarni
2006-09-03 23:14:39 +00:00
parent 7ab6ae3a21
commit e42d819b6a
5 changed files with 13 additions and 28 deletions

View File

@@ -976,12 +976,6 @@ static void ShowPlayerShipsLocal(PlayerID player, StationID station, OrderID ord
w = AllocateWindowDescFront(&_other_player_ships_desc, (station << 16) | (VEH_Ship << 11) | VLW_flag | player);
}
}
if (w != NULL) {
w->vscroll.cap = 4;
w->widget[7].unkA = (w->vscroll.cap << 8) + 1;
w->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG;
}
}
void ShowPlayerShips(PlayerID player, StationID station)