summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-06-03 16:24:17 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-06-03 16:24:17 -0300
commit022b9bd5f910629ecbf837b38b3cd761c2f703ea (patch)
tree355e052b74f61cd89a0a851c5b2734b80719da91 /game.c
parent83b1c06b186614d1bf2171feb46754bd8a8e6dfa (diff)
game: pressione r para reiniciar
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();