mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r1359) Fix typos in last commit
This commit is contained in:
parent
815bac212a
commit
74568aade0
@ -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
Block a user