- Added new bonus system for victories. Unlock and bonuses need to be tested :/
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-11 09:43:29 +00:00
parent fab150414b
commit e9cb57dbb1
9 changed files with 265 additions and 106 deletions

View File

@@ -25,7 +25,7 @@ PlayerData::PlayerData(MTGAllCards * allcards){
int PlayerData::save(){
std::ofstream file(PLAYER_SAVEFILE);
char writer[10];
char writer[64];
if (file){
sprintf(writer,"%i\n", credits);
file<<writer;