diff src/openttd.cpp @ 6685:91a7c42b133c draft

(svn r9917) -Codechange: prepare some more areas for more road types.
author rubidium <rubidium@openttd.org>
date Fri, 25 May 2007 08:13:01 +0000 (2007-05-25)
parents 5850ac8865e8
children b0ef310cc520
line wrap: on
line diff
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1716,7 +1716,10 @@
 
 	if (CheckSavegameVersion(34)) FOR_ALL_PLAYERS(p) ResetPlayerLivery(p);
 
-	FOR_ALL_PLAYERS(p) p->avail_railtypes = GetPlayerRailtypes(p->index);
+	FOR_ALL_PLAYERS(p) {
+		p->avail_railtypes = GetPlayerRailtypes(p->index);
+		p->avail_roadtypes = GetPlayerRoadtypes(p->index);
+	}
 
 	if (!CheckSavegameVersion(27)) AfterLoadStations();