From ce919e8c719f0f698ac86dcaa528368316f2e52d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Mar 2007 16:27:54 +0000 Subject: (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). --- src/yapf/yapf_costrail.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yapf/yapf_costrail.hpp') diff --git a/src/yapf/yapf_costrail.hpp b/src/yapf/yapf_costrail.hpp index 9a37b28e5..8efda0c27 100644 --- a/src/yapf/yapf_costrail.hpp +++ b/src/yapf/yapf_costrail.hpp @@ -154,7 +154,7 @@ public: int cost = 0; const Vehicle* v = Yapf().GetVehicle(); assert(v != NULL); - assert(v->type == VEH_Train); + assert(v->type == VEH_TRAIN); assert(v->u.rail.cached_total_length != 0); int needed_platform_length = (v->u.rail.cached_total_length + TILE_SIZE - 1) / TILE_SIZE; if (platform_length > needed_platform_length) { -- cgit v1.2.3-70-g09d2