1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-27 22:24:28 +01:00

(svn r13200) [0.6] -Backport from trunk (r13023, r13066, r13074, r13137):

- Fix: Do not send rcon commands of the server to the first client but do directly execute those on the server (r13137)
- Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly (r13074)
- Fix: Loading of TTDP savegames with rivers in them [FS#2005] (r13066)
- Fix: Revert changes to multihead engine weight -- the original values were correct (r13023)
This commit is contained in:
rubidium
2008-05-20 20:14:34 +00:00
parent 966c2fe4b9
commit 76a2221dbb
7 changed files with 38 additions and 42 deletions

View File

@@ -1645,7 +1645,13 @@ static bool LoadOldMain(LoadgameState *ls)
* clear it for ourselves and let OTTD's rebuild PBS itself */
_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
break;
default: break;
case MP_WATER:
if (GetWaterClass(i) == 3) MakeRiver(i, Random());
break;
default:
break;
}
}