summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index 877385a..31ac01b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -23,6 +23,8 @@ game_deinit(Game *this)
void
game_update(Game *this)
{
+ extern double tick;
+ this->spike_angle = tick / 16;
if (this->queue_restart_scene > 0) {
if (--this->queue_restart_scene == 0)
game_restart_scene(this);