1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-14 01:59:09 +00:00

(svn r10083) [0.5] -Fix [FS#836]: "Deactivate Electrified Railways" didn't work.

This commit is contained in:
rubidium
2007-06-10 19:59:34 +00:00
parent 4f757bb914
commit c40f10d6d4

View File

@@ -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;
}
}