From 7d2ceb2063a4769fb92882a8851ed26267fa1e62 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 15 Aug 2006 16:49:48 +0000 Subject: (svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay. -Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function. --- train_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'train_gui.c') diff --git a/train_gui.c b/train_gui.c index b00d31185..cd238de5e 100644 --- a/train_gui.c +++ b/train_gui.c @@ -34,7 +34,7 @@ void DrawTrainEnginePurchaseInfo(int x, int y, EngineID engine_number) const Engine *e = GetEngine(engine_number); int multihead = (rvi->flags&RVI_MULTIHEAD?1:0); YearMonthDay ymd; - ConvertDayToYMD(&ymd, e->intro_date); + ConvertDateToYMD(e->intro_date, &ymd); /* Purchase Cost - Engine weight */ SetDParam(0, rvi->base_cost * (_price.build_railvehicle >> 3) >> 5); -- cgit v1.2.3-54-g00ecf