diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-10 15:33:02 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-10 15:33:02 -0400 |
commit | 076c984c438bea2b34f8dd3a62bb31ebd2eb5282 (patch) | |
tree | b0252c6c054a86eebdf00afccd0afa83e7ff911a /src/brice.cpp | |
parent | 1e9f6aaddb2d21045f5e7dc63d6312a4407b3a08 (diff) |
actual game making
Diffstat (limited to 'src/brice.cpp')
-rw-r--r-- | src/brice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |