forked from mirror/OpenTTD
(svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc)
This commit is contained in:
@@ -541,8 +541,10 @@ static SigSegState UpdateSignalsInBuffer(Owner owner)
|
||||
|
||||
if (first) {
|
||||
first = false;
|
||||
if ((flags & SF_TRAIN) || (flags & SF_EXIT && !(flags & SF_GREEN)) || (flags & SF_FULL)) {
|
||||
/* SIGSEG_FREE is set by default */
|
||||
/* SIGSEG_FREE is set by default */
|
||||
if (flags & SF_PBS) {
|
||||
state = SIGSEG_PBS;
|
||||
} else if (flags & SF_TRAIN || (flags & SF_EXIT && !(flags & SF_GREEN)) || flags & SF_FULL) {
|
||||
state = SIGSEG_FULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user