Fix compilation errors

This commit is contained in:
dP
2024-02-19 14:37:20 +05:30
parent 48e926c2cf
commit 013c51238d
21 changed files with 52 additions and 34 deletions

View File

@@ -2091,7 +2091,7 @@ public:
assert(vehgroup.NumVehicles() > 0);
if (!VehicleClicked(vehgroup)) {
const Vehicle *v = vehgroup.vehicles_begin[0];
if (_ctrl_pressed) {
if (citymania::_fn_mod) {
ShowOrdersWindow(v);
} else {
if (vehgroup.NumVehicles() == 1) {