From ef61b47e141fde828d73e085e758939e4cfcfe31 Mon Sep 17 00:00:00 2001 From: Reimar Date: Thu, 10 Dec 2015 11:29:12 +0100 Subject: defaulkt acc no longer in save folder --- data/default/account.txt | 40 ++++++++++++++++++++++++++++++++++++++++ main.cpp | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 data/default/account.txt 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 @@ +Start-Account +0 +0 +1 +Small Fighter +Hitpoints +10 +20 +1 +0 +Armor +50 +20 +1 +0 +Battery +10 +20 +1 +0 +Generator +2 +20 +1 +0 +Acceleration +300 +20 +1 +0 +Max Speed +200 +20 +1 +0 +2 +Beamer 2 +empty Slot +0 +0 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() if(*acname != "") { delete user; - user = new Account("save/default account.txt"); + user = new Account("data/default/account.txt"); user->name = *acname; menus[5]->refresh(); menus[3]->refresh(); -- cgit v1.2.3