Remove: A few bits of dead code

This commit is contained in:
Charles Pigott
2018-10-14 19:31:14 +01:00
committed by frosch
parent e0c0394e37
commit 52ed3bcbaa
6 changed files with 4 additions and 22 deletions

View File

@@ -2897,11 +2897,9 @@ int TicksToLeaveDepot(const Train *v)
case DIAGDIR_NE: return ((int)(v->x_pos & 0x0F) - ((_fractcoords_enter[dir] & 0x0F) - (length + 1)));
case DIAGDIR_SE: return -((int)(v->y_pos & 0x0F) - ((_fractcoords_enter[dir] >> 4) + (length + 1)));
case DIAGDIR_SW: return -((int)(v->x_pos & 0x0F) - ((_fractcoords_enter[dir] & 0x0F) + (length + 1)));
default:
case DIAGDIR_NW: return ((int)(v->y_pos & 0x0F) - ((_fractcoords_enter[dir] >> 4) - (length + 1)));
default: NOT_REACHED();
}
return 0; // make compilers happy
}
/**