1
0
Fork 0

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
Jonathan G Rennison 2024-08-22 15:05:50 +01:00 committed by Peter Nelson
parent 29ff3d7b90
commit cb2f4f319c
1 changed files with 1 additions and 1 deletions

View File

@ -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});
}
}
}