mirror of https://github.com/OpenTTD/OpenTTD
Fix: Picker window 'used' filter for rail waypoints
The first two field of struct PickerItem were not populated. These are required for set operations.pull/12933/head
parent
29ff3d7b90
commit
cb2f4f319c
|
@ -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});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue