summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index b590eb29b..d52f23307 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -334,7 +334,7 @@ static void DrawTrainDepotWindow(Window *w)
/* locate the depot struct */
for (d = _depots; d->xy != (TileIndex)tile; d++) {
- assert(d < endof(_depots);
+ assert(d < endof(_depots));
}
SetDParam(0, d->town_index);