From 4e338bb799b6319ce48cd6602f7828dc6abeeb82 Mon Sep 17 00:00:00 2001
From: Rtch90 <ritchie.cunningham@protonmail.com>
Date: Mon, 16 Jan 2012 16:05:53 +0000
Subject: [PATCH] [Fix] Clearing buffers when entering MainMenu as apposed to
 InGameMenu.

---
 src/Unuk/Game.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Unuk/Game.cpp b/src/Unuk/Game.cpp
index 07fcf2e..9d986fd 100644
--- a/src/Unuk/Game.cpp
+++ b/src/Unuk/Game.cpp
@@ -174,6 +174,7 @@ void Game::HandleInput(void) {
     case ingameMenuOptions:
       break;
     case ingameMenuMainMenu:
+			SDL_FillRect(screen, NULL, 0);
       _gameRunning = false;
       break;
     }
@@ -196,7 +197,7 @@ void Game::UpdateGame(void) {
 }
 
 void Game::Render(void) {
-	SDL_FillRect(screen, NULL, 0); //  You might want to clear the buffer! --konom
+	//SDL_FillRect(screen, NULL, 0); //  You might want to clear the buffer! --konom | I don't want a blacked out ingame menu, save it for MainMenu. --Allanis
   if(_ingameMenu.GetStatus() == false) {
     _map.Render();
     _player->Render();