summaryrefslogtreecommitdiff
path: root/src/spike.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spike.c')
-rw-r--r--src/spike.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spike.c b/src/spike.c
index f09537f..5dcd433 100644
--- a/src/spike.c
+++ b/src/spike.c
@@ -7,8 +7,8 @@ IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
- rotrect(this->pos[0], this->pos[1], 10, 10, g->spike_angle);
- rotrect(this->pos[0], this->pos[1], 10, 10, -g->spike_angle);
+ rotrect_draw(g->spike_rect, this->pos[0], this->pos[1]);
+ rotrect_draw(g->spike_irect, this->pos[0], this->pos[1]);
} IMPL_END
IMPL_INIT(spike) {