Codechange: Rename SIGTYPE_NORMAL to SIGTYPE_BLOCK (#11788)

This commit is contained in:
Tyler Trahan
2024-01-15 15:27:48 -05:00
committed by GitHub
parent 4a194482ea
commit 68814bd912
7 changed files with 15 additions and 15 deletions

View File

@@ -469,7 +469,7 @@ static bool IsValidSignalType(int signal_type)
}
::SignalType sig_type = (::SignalType)(signal >= SIGNALTYPE_TWOWAY ? signal ^ SIGNALTYPE_TWOWAY : signal);
return ScriptObject::Command<CMD_BUILD_SIGNALS>::Do(tile, track, sig_type, ::SIG_ELECTRIC, false, false, false, ::SIGTYPE_NORMAL, ::SIGTYPE_NORMAL, signal_cycles, 0);
return ScriptObject::Command<CMD_BUILD_SIGNALS>::Do(tile, track, sig_type, ::SIG_ELECTRIC, false, false, false, ::SIGTYPE_BLOCK, ::SIGTYPE_BLOCK, signal_cycles, 0);
}
/* static */ bool ScriptRail::RemoveSignal(TileIndex tile, TileIndex front)