From 3461430a34880d0db9ac2b5dc711e7dd876264f7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 24 Apr 2010 11:52:58 +0000 Subject: (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed --- src/ai/api/ai_rail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api') diff --git a/src/ai/api/ai_rail.cpp b/src/ai/api/ai_rail.cpp index 1db02e274..36f060a50 100644 --- a/src/ai/api/ai_rail.cpp +++ b/src/ai/api/ai_rail.cpp @@ -164,7 +164,7 @@ if (station_id != AIStation::STATION_JOIN_ADJACENT) p1 |= (1 << 24); const GRFFile *file; - uint16 res = GetAiPurchaseCallbackResult(GSF_STATION, cargo_id, 0, source_industry, goal_industry, min(255, distance / 2), AICE_STATION_GET_STATION_ID, source_station ? 0 : 1, min(15, num_platforms) << 4 | min(15, platform_length), &file); + uint16 res = GetAiPurchaseCallbackResult(GSF_STATIONS, cargo_id, 0, source_industry, goal_industry, min(255, distance / 2), AICE_STATION_GET_STATION_ID, source_station ? 0 : 1, min(15, num_platforms) << 4 | min(15, platform_length), &file); uint32 p2 = (AIStation::IsValidStation(station_id) ? station_id : INVALID_STATION) << 16; if (res != CALLBACK_FAILED) { int index = 0; -- cgit v1.2.3-70-g09d2