@@ -2340,25 +2340,25 @@ public:
line++;
}
void DrawWidget(const Rect &r, int widget) const override
{
switch (widget) {
case WID_CL_MATRIX: {
uint line = 0;
if (this->hover_index >= 0) {
uint offset = this->hover_index * this->line_height;
GfxFillRect(r.left + 2, r.top + offset, r.right - 1, r.top + offset + this->line_height - 1, GREY_SCALE(9));
GfxFillRect(r.left + 2, r.top + offset, r.right - 1, r.top + offset + this->line_height - 2, GREY_SCALE(9));
NetworkClientInfo *own_ci = NetworkClientInfo::GetByClientID(_network_own_client_id);
if (own_ci->client_playas == COMPANY_SPECTATOR && !NetworkMaxCompaniesReached()) {
this->DrawCompany(COMPANY_NEW_COMPANY, r.left, r.right, r.top, line);
if (own_ci->client_playas != COMPANY_SPECTATOR) {
this->DrawCompany(own_ci->client_playas, r.left, r.right, r.top, line);
for (const Company *c : Company::Iterate()) {
Status change: