(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 2475959196
commit 9b8d16b7ff
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;
}