(svn r6379) -Codechange: cast 'remove babel' on widget's unkA and rename it to 'data'.

This commit is contained in:
Darkvater
2006-09-04 15:44:28 +00:00
parent 52fa30022a
commit 2ca590ab75
9 changed files with 51 additions and 53 deletions

View File

@@ -73,9 +73,9 @@ static void DrawOrdersWindow(Window *w)
if (v->type != VEH_Train) {
SETBIT(w->disabled_state, 6); // Disable non-stop for non-trains
switch (v->type) {
case VEH_Road: w->widget[11].unkA = STR_LORRY; break;
case VEH_Ship: w->widget[11].unkA = STR_SHIP; break;
case VEH_Aircraft: w->widget[11].unkA = STR_PLANE; break;
case VEH_Road: w->widget[11].data = STR_LORRY; break;
case VEH_Ship: w->widget[11].data = STR_SHIP; break;
case VEH_Aircraft: w->widget[11].data = STR_PLANE; break;
default: NOT_REACHED(); break;
}
}