diff -r b432c4b9cc9b -r daffc14a518a QTfrontend/pagegamestats.cpp --- a/QTfrontend/pagegamestats.cpp Sat Sep 24 22:27:20 2011 +0400 +++ b/QTfrontend/pagegamestats.cpp Sat Sep 24 22:14:10 2011 +0200 @@ -183,12 +183,12 @@ //AddStatText("

local team: " + info + "

"); QStringList infol = info.split(":"); HWTeam team(infol[0]); - if(team.FileExists()) // do some better test to avoid influence from scripted/predefined teams? + if(team.fileExists()) // do some better test to avoid influence from scripted/predefined teams? { - team.LoadFromFile(); - team.Rounds++; + team.loadFromFile(); + team.incRounds(); if(infol[1].toInt() > 0) // might require some better test for winning condition (or changed flag) ... WIP! - team.Wins++; // should draws count as wins? + team.incWins(); // should draws count as wins? //team.SaveToFile(); // don't save yet } break;