mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16008) -Fix (r15808): Unswap swapped music selection panels.
This commit is contained in:
parent
460fbc7c92
commit
d28cd96817
@ -239,7 +239,7 @@ public:
|
|||||||
SetDParam(0, i);
|
SetDParam(0, i);
|
||||||
SetDParam(2, i);
|
SetDParam(2, i);
|
||||||
SetDParam(1, SPECSTR_SONGNAME);
|
SetDParam(1, SPECSTR_SONGNAME);
|
||||||
DrawString(this->widget[MTSW_LIST_RIGHT].left + 2, this->widget[MTSW_LIST_RIGHT].right - 2, 23 + (i - 1) * 6, (i < 10) ? STR_01EC_0 : STR_01ED, TC_FROMSTRING);
|
DrawString(this->widget[MTSW_LIST_LEFT].left + 2, this->widget[MTSW_LIST_LEFT].right - 2, 23 + (i - 1) * 6, (i < 10) ? STR_01EC_0 : STR_01ED, TC_FROMSTRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i != 6; i++) {
|
for (i = 0; i != 6; i++) {
|
||||||
@ -256,7 +256,7 @@ public:
|
|||||||
SetDParam(0, i);
|
SetDParam(0, i);
|
||||||
SetDParam(1, SPECSTR_SONGNAME);
|
SetDParam(1, SPECSTR_SONGNAME);
|
||||||
SetDParam(2, i);
|
SetDParam(2, i);
|
||||||
DrawString(this->widget[MTSW_LIST_LEFT].left + 2, this->widget[MTSW_LIST_LEFT].right - 2, y, (i < 10) ? STR_01EC_0 : STR_01ED, TC_FROMSTRING);
|
DrawString(this->widget[MTSW_LIST_RIGHT].left + 2, this->widget[MTSW_LIST_RIGHT].right - 2, y, (i < 10) ? STR_01EC_0 : STR_01ED, TC_FROMSTRING);
|
||||||
y += 6;
|
y += 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user