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 4173729..3c5a8d3 100644
--- a/src/spike.c
+++ b/src/spike.c
@@ -1,13 +1,13 @@
#include "entityimpl.h"
#include "rotrect.h"
-extern long tick;
+extern double tick;
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
- const double angle = (float)tick / 16;
+ const double angle = tick / 16;
rotrect(this->pos[0], this->pos[1], 10, 10, angle);
rotrect(this->pos[0], this->pos[1], 10, 10, -angle);
} IMPL_END