From 076c984c438bea2b34f8dd3a62bb31ebd2eb5282 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 10 Jun 2016 15:33:02 -0400 Subject: actual game making --- src/brice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/brice.cpp') diff --git a/src/brice.cpp b/src/brice.cpp index d5ac46d..de95f51 100644 --- a/src/brice.cpp +++ b/src/brice.cpp @@ -35,8 +35,10 @@ namespace game { void briceClear(void) { std::ofstream out ("brice.dat", std::ios::out); + const std::string defaultt = "1\nSlow\n1\n"; + out.write(defaultt.data(), defaultt.size()); out.close(); - brice.clear(); + briceLoad(); } void briceSave(void) { -- cgit v1.2.3