(svn r10323) -Codechange: reference company name, number and player (president) name

by index
This commit is contained in:
peter1138
2007-06-25 13:30:38 +00:00
parent 0e59b4dc57
commit eb6594caa8
19 changed files with 114 additions and 140 deletions

View File

@@ -957,9 +957,8 @@ static void DrawVehicleListWindow(Window *w)
break;
case VLW_STANDARD: /* Company Name */
SetDParam(0, p->name_1);
SetDParam(1, p->name_2);
SetDParam(2, w->vscroll.count);
SetDParam(0, p->index);
SetDParam(1, w->vscroll.count);
break;
case VLW_STATION_LIST: /* Station Name */