Codechange: Rename SIGTYPE_NORMAL to SIGTYPE_BLOCK (#11788)
This commit is contained in:
@@ -217,7 +217,7 @@ public:
|
||||
switch (sig_type) {
|
||||
case SIGTYPE_COMBO:
|
||||
case SIGTYPE_EXIT: cost += Yapf().PfGetSettings().rail_firstred_exit_penalty; break; // first signal is red pre-signal-exit
|
||||
case SIGTYPE_NORMAL:
|
||||
case SIGTYPE_BLOCK:
|
||||
case SIGTYPE_ENTRY: cost += Yapf().PfGetSettings().rail_firstred_penalty; break;
|
||||
default: break;
|
||||
}
|
||||
|
@@ -142,7 +142,7 @@ struct CYapfRailNodeT
|
||||
if (parent == nullptr) {
|
||||
m_num_signals_passed = 0;
|
||||
flags_u.m_inherited_flags = 0;
|
||||
m_last_red_signal_type = SIGTYPE_NORMAL;
|
||||
m_last_red_signal_type = SIGTYPE_BLOCK;
|
||||
/* We use PBS as initial signal type because if we are in
|
||||
* a PBS section and need to route, i.e. we're at a safe
|
||||
* waiting point of a station, we need to account for the
|
||||
|
Reference in New Issue
Block a user