summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/default/account.txt40
-rw-r--r--main.cpp2
2 files changed, 41 insertions, 1 deletions
diff --git a/data/default/account.txt b/data/default/account.txt
new file mode 100644
index 0000000..d5eda86
--- /dev/null
+++ b/data/default/account.txt
@@ -0,0 +1,40 @@
1Start-Account
20
30
41
5Small Fighter
6Hitpoints
710
820
91
100
11Armor
1250
1320
141
150
16Battery
1710
1820
191
200
21Generator
222
2320
241
250
26Acceleration
27300
2820
291
300
31Max Speed
32200
3320
341
350
362
37Beamer 2
38empty Slot
390
400
diff --git a/main.cpp b/main.cpp
index 9cf73d4..738743d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -691,7 +691,7 @@ int GameHandler::game()
691 if(*acname != "") 691 if(*acname != "")
692 { 692 {
693 delete user; 693 delete user;
694 user = new Account("save/default account.txt"); 694 user = new Account("data/default/account.txt");
695 user->name = *acname; 695 user->name = *acname;
696 menus[5]->refresh(); 696 menus[5]->refresh();
697 menus[3]->refresh(); 697 menus[3]->refresh();