summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index c7159ae..615e06e 100644
--- a/src/game.c
+++ b/src/game.c
@@ -3,6 +3,7 @@
#include "map.h"
#include "player.h"
#include "cfg.h"
+#include "spike.h"
#include <string.h>
void
@@ -64,6 +65,9 @@ game_restart_scene(Game *this)
case 4:
exit_init(game_create_entity(this), dx, dy);
break;
+ case 5:
+ spike_init(game_create_entity(this), dx, dy);
+ break;
default:
break;
}