From c40f10d6d4ce8351eb2031815454543d57bc1ce4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 10 Jun 2007 19:59:34 +0000 Subject: [PATCH] (svn r10083) [0.5] -Fix [FS#836]: "Deactivate Electrified Railways" didn't work. --- elrail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/elrail.c b/elrail.c index 6a9c0dbb5b..f926b577b0 100644 --- a/elrail.c +++ b/elrail.c @@ -422,6 +422,7 @@ int32 SettingsDisableElrail(int32 p1) if (rv_info->engclass == 2 && e->railtype == old_railtype) { /* change it to the proper one */ e->railtype = new_railtype; + _engine_info[e_id].railtype = new_railtype; } }