# HG changeset patch # User nemo # Date 1287929490 14400 # Node ID 283a6d17fc4bc43fcd9fba2bbe356c77d83af7e3 # Parent 82e4a5ef18f7f9516bfe2162995928fe16fe8d71 initialise to team count diff -r 82e4a5ef18f7 -r 283a6d17fc4b QTfrontend/teamselhelper.cpp --- a/QTfrontend/teamselhelper.cpp Sat Oct 23 14:10:23 2010 +0200 +++ b/QTfrontend/teamselhelper.cpp Sun Oct 24 10:11:30 2010 -0400 @@ -75,6 +75,7 @@ phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this); connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged())); + phhoger->setHHNum(team.numHedgehogs); mainLayout.addWidget(phhoger); } else { }