diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-03-29 05:40:19 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-03-29 05:40:19 +0400 |
commit | a308b6c0ec070ac3813849c670b077641e9071a2 (patch) | |
tree | 5db45b5e8fe793a3faa46d799498c13df264a36f /source/gameengine | |
parent | 299025bdfbbac715dc77ad6129dbbdb4f4918956 (diff) |
Windows Blenderplayer: The console now closes when the Blenderplayer launches (like it does with Blender). To get it back, use the -c flag, which is finally working as described: "-c: keep console window open"
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 642a3cb88d2..641f1f8d194 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -802,7 +802,7 @@ int main(int argc, char** argv) #if !defined(DEBUG) if (closeConsole) { - //::FreeConsole(); // Close a console window + system->toggleConsole(0); // Close a console window } #endif // !defined(DEBUG) #endif // WIN32 |