Fixed 'Replace vehicles' window too tall

This commit is contained in:
pelya
2014-07-19 23:39:41 +03:00
parent 138c4d86c4
commit 7f4b3e88c1

View File

@@ -243,7 +243,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: