|
@@ -20,8 +20,6 @@ Game::~Game()
|
|
client->release();
|
|
client->release();
|
|
if( schrift )
|
|
if( schrift )
|
|
schrift->release();
|
|
schrift->release();
|
|
- if( screen )
|
|
|
|
- screen->release();
|
|
|
|
if( menü )
|
|
if( menü )
|
|
menü->release();
|
|
menü->release();
|
|
}
|
|
}
|
|
@@ -92,9 +90,9 @@ void Game::setSchriftZ( Schrift *schrift )
|
|
menü = new Menü( schrift, screen, client->getThis() );
|
|
menü = new Menü( schrift, screen, client->getThis() );
|
|
}
|
|
}
|
|
|
|
|
|
-void Game::setBildschirmZ( Bildschirm *screen )
|
|
|
|
|
|
+void Game::setBildschirmZ( Bildschirm *zScreen )
|
|
{
|
|
{
|
|
- this->screen = screen;
|
|
|
|
|
|
+ screen = zScreen;
|
|
if( !menü && schrift && screen )
|
|
if( !menü && schrift && screen )
|
|
menü = new Menü( schrift, screen, client->getThis() );
|
|
menü = new Menü( schrift, screen, client->getThis() );
|
|
}
|
|
}
|