1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 05:29:11 +00:00

(svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc)

This commit is contained in:
smatz
2008-05-14 16:38:53 +00:00
parent 6bfd695002
commit 08814d50ea
3 changed files with 15 additions and 6 deletions

View File

@@ -2262,7 +2262,7 @@ static bool CheckTrainStayInDepot(Vehicle *v)
v->load_unload_time_rem = 0;
if (UpdateSignalsOnSegment(v->tile, INVALID_DIAGDIR, v->owner)) {
if (UpdateSignalsOnSegment(v->tile, INVALID_DIAGDIR, v->owner) == SIGSEG_FULL) {
InvalidateWindowClasses(WC_TRAINS_LIST);
return true;
}