@@ -27,13 +27,13 @@ enum {GRAPH_NUM = 16};
typedef struct GraphDrawer {
uint sel; // bitmask of the players *excluded* (e.g. 11111111 means that no players are shown)
byte num_dataset;
byte num_on_x_axis;
byte month;
byte year;
Year year;
bool include_neg;
byte num_vert_lines;
uint16 unk61A;
uint16 unk61C;
int left, top;
uint height;
@@ -148,13 +148,13 @@ static void DrawGraph(const GraphDrawer
/* draw strings on the x axis */
if (gw->month != 0xFF) {
x = gw->left + 44;
y = gw->top + gw->height + 1;
j = gw->month;
k = BASE_YEAR + gw->year;
k = gw->year;
i = gw->num_on_x_axis;assert(i>0);
do {
SetDParam(2, k);
SetDParam(0, j + STR_0162_JAN);
SetDParam(1, j + STR_0162_JAN + 2);
DrawString(x, y, j == 0 ? STR_016F : STR_016E, gw->color_3);