Fixed 'Replace vehicles' window too tall

This commit is contained in:
pelya
2014-07-19 23:39:41 +03:00
committed by Sergii Pylypenko
parent 5236d0f75f
commit b4cfc84fc7

View File

@@ -245,7 +245,7 @@ public:
case WID_RV_LEFT_MATRIX:
case WID_RV_RIGHT_MATRIX:
resize->height = GetEngineListHeight((VehicleType)this->window_number);
size->height = (this->window_number <= VEH_ROAD ? 8 : 4) * resize->height;
size->height = 4 * resize->height;
break;
case WID_RV_LEFT_DETAILS: