mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Merge branch 'signal_tunnels_bridges' into jgrpp
This commit is contained in:
commit
5d8c560c5b
@ -145,7 +145,7 @@ void ShiftBridgeEntranceSimulatedSignalsExtended(TileIndex t, int shift, uint64
|
||||
size_t i = orig_size;
|
||||
auto insert_bits = [&](uint64 bits, size_t pos) {
|
||||
if (bits) {
|
||||
if (pos >= lbss->signal_red_bits.size()) lbss->signal_red_bits.resize(pos);
|
||||
if (pos >= lbss->signal_red_bits.size()) lbss->signal_red_bits.resize(pos + 1);
|
||||
lbss->signal_red_bits[pos] |= bits;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user