forked from mirror/OpenTTD
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
This commit is contained in:
@@ -1874,7 +1874,7 @@ bool AfterLoadGame()
|
||||
}
|
||||
|
||||
/* Clear PBS reservation on track */
|
||||
if (!IsDepotTypeTile(t, TRANSPORT_RAIL)) {
|
||||
if (!IsRailDepotTile(t)) {
|
||||
SB(_m[t].m4, 4, 4, 0);
|
||||
} else {
|
||||
ClrBit(_m[t].m3, 6);
|
||||
|
Reference in New Issue
Block a user