From 36cea84b1108db28a7a61fc23e2e2020a64a89dd 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/console_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console_cmds.cpp') diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 690067a28..bcffc4896 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -141,7 +141,7 @@ DEF_CONSOLE_CMD(ConStopAllVehicles) FOR_ALL_VEHICLES(v) { /* Code ripped from CmdStartStopTrain. Can't call it, because of * ownership problems, so we'll duplicate some code, for now */ - if (v->type == VEH_Train) + if (v->type == VEH_TRAIN) v->u.rail.days_since_order_progr = 0; v->vehstatus |= VS_STOPPED; InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); -- cgit v1.2.3-70-g09d2