(svn r1359) Fix typos in last commit
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user