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 41142e5e2..85f9f1419 100644
--- a/src/wallclock.c
+++ b/src/wallclock.c
@@ -969,8 +969,8 @@ static void SpriteCB_MinuteHand(struct Sprite *sprite)
if (y > 0x80)
y |= 0xFF00;
- sprite->pos2.x = x;
- sprite->pos2.y = y;
+ sprite->x2 = x;
+ sprite->y2 = y;
}
static void SpriteCB_HourHand(struct Sprite *sprite)
@@ -990,8 +990,8 @@ static void SpriteCB_HourHand(struct Sprite *sprite)
if (y > 0x80)
y |= 0xFF00;
- sprite->pos2.x = x;
- sprite->pos2.y = y;
+ sprite->x2 = x;
+ sprite->y2 = y;
}
static void SpriteCB_AMIndicator(struct Sprite *sprite)
@@ -1010,8 +1010,8 @@ static void SpriteCB_AMIndicator(struct Sprite *sprite)
if (sprite->data[1] > 75)
sprite->data[1]--;
}
- sprite->pos2.x = Cos2(sprite->data[1]) * 30 / 4096;
- sprite->pos2.y = Sin2(sprite->data[1]) * 30 / 4096;
+ sprite->x2 = Cos2(sprite->data[1]) * 30 / 4096;
+ sprite->y2 = Sin2(sprite->data[1]) * 30 / 4096;
}
static void SpriteCB_PMIndicator(struct Sprite *sprite)
@@ -1030,6 +1030,6 @@ static void SpriteCB_PMIndicator(struct Sprite *sprite)
if (sprite->data[1] > 120)
sprite->data[1]--;
}
- sprite->pos2.x = Cos2(sprite->data[1]) * 30 / 4096;
- sprite->pos2.y = Sin2(sprite->data[1]) * 30 / 4096;
+ sprite->x2 = Cos2(sprite->data[1]) * 30 / 4096;
+ sprite->y2 = Sin2(sprite->data[1]) * 30 / 4096;
}