aboutsummaryrefslogtreecommitdiff
path: root/worm.c
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-04-01 21:31:23 -0500
committerJeffrey Armstrong <jeff@approximatrix.com>2020-04-01 21:31:23 -0500
commit2c76d28bb33ac533ef7c6c943543384d73e7f449 (patch)
tree682850c477dccae8d5e3e7707b6408e43d24d1ca /worm.c
parentb70bdd1804f4b993044aee99cd75bdede7a3cbd6 (diff)
downloadgemworm-2c76d28bb33ac533ef7c6c943543384d73e7f449.zip
gemworm-2c76d28bb33ac533ef7c6c943543384d73e7f449.tar.gz
Game actually resets now when game ends, especially redrawing borders.
Diffstat (limited to 'worm.c')
-rw-r--r--worm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/worm.c b/worm.c
index ebe6089..cc0e51a 100644
--- a/worm.c
+++ b/worm.c
@@ -564,9 +564,12 @@ EVMULT_OUT evout;
save_scores(argv[0]);
} else
form_alert(1,"[3][You've Died!|Good try, though...][Reset]");
+
reset_player(player);
playing = 0;
menu_ienable(app_menu, MPAUSE, 0);
+ update_field(player);
+ do_redraw(player, playing, NULL);
}
}