mirror of https://github.com/OpenTTD/OpenTTD
(svn r1359) Fix typos in last commit
parent
2f2688b829
commit
39bb863024
|
@ -513,7 +513,7 @@ static void DrawRoadDepotWindow(Window *w)
|
||||||
|
|
||||||
/* locate the depot struct */
|
/* locate the depot struct */
|
||||||
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
||||||
assert(d < endof(_depots);
|
assert(d < endof(_depots));
|
||||||
}
|
}
|
||||||
|
|
||||||
SetDParam(0, d->town_index);
|
SetDParam(0, d->town_index);
|
||||||
|
|
|
@ -647,7 +647,7 @@ static void DrawShipDepotWindow(Window *w)
|
||||||
|
|
||||||
/* locate the depot struct */
|
/* locate the depot struct */
|
||||||
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
||||||
assert(d < endof(_depots);
|
assert(d < endof(_depots));
|
||||||
}
|
}
|
||||||
|
|
||||||
SetDParam(0, d->town_index);
|
SetDParam(0, d->town_index);
|
||||||
|
|
|
@ -334,7 +334,7 @@ static void DrawTrainDepotWindow(Window *w)
|
||||||
|
|
||||||
/* locate the depot struct */
|
/* locate the depot struct */
|
||||||
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
for (d = _depots; d->xy != (TileIndex)tile; d++) {
|
||||||
assert(d < endof(_depots);
|
assert(d < endof(_depots));
|
||||||
}
|
}
|
||||||
|
|
||||||
SetDParam(0, d->town_index);
|
SetDParam(0, d->town_index);
|
||||||
|
|
Loading…
Reference in New Issue