|
@@ -20,8 +20,6 @@ Game::~Game()
|
|
|
client->release();
|
|
|
if( schrift )
|
|
|
schrift->release();
|
|
|
- if( screen )
|
|
|
- screen->release();
|
|
|
if( menü )
|
|
|
menü->release();
|
|
|
}
|
|
@@ -92,9 +90,9 @@ void Game::setSchriftZ( Schrift *schrift )
|
|
|
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 )
|
|
|
menü = new Menü( schrift, screen, client->getThis() );
|
|
|
}
|