Implemented TitleScreen::init()

This commit is contained in:
2011-06-28 21:44:28 -04:00
parent 6a4b1c4cf2
commit 7e17865c2a
2 changed files with 21 additions and 1 deletions

View File

@ -16,7 +16,8 @@ Game::Game(SDL_Surface* display)
Game::~Game()
{
SDL_FreeSurface(background);
if (background != NULL)
SDL_FreeSurface(background);
}