summaryrefslogtreecommitdiff
path: root/src/interface/Engine.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-19 13:44:59 (GMT)
commit44639a6423c03552a3c0faafab27ef8f395f73a6 (patch)
tree1a4fc49a56060759fcbec6f18e9159cf126e8606 /src/interface/Engine.cpp
parent4a60b97c700c2f1843b7e99313554cb89fb5da4e (diff)
downloadpowder-44639a6423c03552a3c0faafab27ef8f395f73a6.zip
powder-44639a6423c03552a3c0faafab27ef8f395f73a6.tar.gz
Some folder changes, started search and client
Diffstat (limited to 'src/interface/Engine.cpp')
-rw-r--r--src/interface/Engine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interface/Engine.cpp b/src/interface/Engine.cpp
index 55a2370..130fc8e 100644
--- a/src/interface/Engine.cpp
+++ b/src/interface/Engine.cpp
@@ -47,10 +47,9 @@ void Engine::ShowWindow(Window * window)
{
if(state_)
{
- windows.push(window);
+ windows.push(state_);
}
state_ = window;
- windows.push(window);
}
void Engine::CloseWindow()