summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'game.c')
-rw-r--r--game.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/game.c b/game.c
index b00d4e3..d305318 100644
--- a/game.c
+++ b/game.c
@@ -34,6 +34,14 @@ int ebufi;
Entity *player;
void
+entrestart()
+{
+ ebufi = 0;
+ player = NULL;
+ entinit();
+}
+
+void
entinit()
{
player = allocentity();