Mercurial > mm7
diff Game/GameOver.cpp @ 2544:c674d547cc7c
GUIWindow switch logic refactored into behaviour classes
author | a.parshin |
---|---|
date | Mon, 11 May 2015 09:51:04 +0200 |
parents | b6140dfeac27 |
children | d87bfbd3bb3b |
line wrap: on
line diff
--- a/Game/GameOver.cpp Sun May 10 03:21:14 2015 +0200 +++ b/Game/GameOver.cpp Mon May 11 09:51:04 2015 +0200 @@ -58,7 +58,7 @@ pRenderer->EndScene(); free(_this.pPixels); _this.pPixels = 0; - window_SpeakInHouse = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_MainMenu, 0, 0); + window_SpeakInHouse = new GUIWindow(0, 0, window->GetWidth(), window->GetHeight(), 0, 0); pWindow.uFrameX = 75; pWindow.uFrameY = 60; pWindow.uFrameWidth = 469;