|
@@ -33,8 +33,6 @@ HistorieStatistik::~HistorieStatistik()
|
|
|
{
|
|
|
if( schrift )
|
|
|
schrift->release();
|
|
|
- if( screen )
|
|
|
- screen->release();
|
|
|
if( !geladen )
|
|
|
{
|
|
|
gss->release();
|
|
@@ -95,11 +93,9 @@ void HistorieStatistik::setSchrift( Schrift *schrift )
|
|
|
this->schrift = schrift;
|
|
|
}
|
|
|
|
|
|
-void HistorieStatistik::setBildschirm( Bildschirm *screen )
|
|
|
+void HistorieStatistik::setBildschirm( Bildschirm *zScreen )
|
|
|
{
|
|
|
- if( this->screen )
|
|
|
- this->screen->release();
|
|
|
- this->screen = screen;
|
|
|
+ screen = zScreen;
|
|
|
}
|
|
|
|
|
|
void HistorieStatistik::ladeDaten( int spielId )
|