(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
1 changed files with 1 additions and 0 deletions

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