summaryrefslogtreecommitdiff
path: root/src/wallclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallclock.c')
-rw-r--r--src/wallclock.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wallclock.c b/src/wallclock.c
index 70888ac5f..6f9bc02ae 100644
--- a/src/wallclock.c
+++ b/src/wallclock.c
@@ -1029,8 +1029,8 @@ static void SpriteCB_MinuteHand(struct Sprite *sprite)
if (y > 128)
y |= 0xff00;
- sprite->pos2.x = x;
- sprite->pos2.y = y;
+ sprite->x2 = x;
+ sprite->y2 = y;
}
static void SpriteCB_HourHand(struct Sprite *sprite)
@@ -1049,8 +1049,8 @@ static void SpriteCB_HourHand(struct Sprite *sprite)
if (y > 128)
y |= 0xff00;
- sprite->pos2.x = x;
- sprite->pos2.y = y;
+ sprite->x2 = x;
+ sprite->y2 = y;
}
static void SpriteCB_PMIndicator(struct Sprite *sprite)
@@ -1077,8 +1077,8 @@ static void SpriteCB_PMIndicator(struct Sprite *sprite)
sprite->data[1]--;
}
}
- sprite->pos2.x = Cos2(sprite->data[1]) * 30 / 0x1000;
- sprite->pos2.y = Sin2(sprite->data[1]) * 30 / 0x1000;
+ sprite->x2 = Cos2(sprite->data[1]) * 30 / 0x1000;
+ sprite->y2 = Sin2(sprite->data[1]) * 30 / 0x1000;
}
static void SpriteCB_AMIndicator(struct Sprite *sprite)
@@ -1105,6 +1105,6 @@ static void SpriteCB_AMIndicator(struct Sprite *sprite)
sprite->data[1]--;
}
}
- sprite->pos2.x = Cos2(sprite->data[1]) * 30 / 0x1000;
- sprite->pos2.y = Sin2(sprite->data[1]) * 30 / 0x1000;
+ sprite->x2 = Cos2(sprite->data[1]) * 30 / 0x1000;
+ sprite->y2 = Sin2(sprite->data[1]) * 30 / 0x1000;
}