mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 07:59:09 +00:00
Fix: Picker window 'used' filter for rail waypoints
The first two field of struct PickerItem were not populated. These are required for set operations.
This commit is contained in:
@@ -1840,7 +1840,7 @@ public:
|
||||
}
|
||||
for (const auto &sm : wp->speclist) {
|
||||
if (sm.spec == nullptr) continue;
|
||||
items.insert({0, 0, sm.spec->class_index, sm.spec->index});
|
||||
items.insert({sm.grfid, sm.localidx, sm.spec->class_index, sm.spec->index});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user