Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-02-13 06:37:00 +0300
committerErwin Coumans <blender@erwincoumans.com>2006-02-13 06:37:00 +0300
commit6c325d74f534d259820c2b2d94d5b73b3acf0a35 (patch)
tree522e443698e13c385c35df57781499fb0d128931 /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
parent4c966a31419313e88e91d60ea6a6356df27dc9b1 (diff)
gameplayer will use blender materials automatically
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 5b67f8b8029..79a5171eec5 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -59,7 +59,7 @@
extern "C"
{
#endif // __cplusplus
-
+#include "BKE_global.h"
#include "BLI_blenlib.h"
#include "DNA_scene_types.h"
#include "BLO_readfile.h"
@@ -605,7 +605,7 @@ int main(int argc, char** argv)
#ifdef NDEBUG
if (closeConsole)
{
- ::FreeConsole(); // Close a console window
+ //::FreeConsole(); // Close a console window
}
#endif // NDEBUG
#endif // WIN32
@@ -613,7 +613,8 @@ int main(int argc, char** argv)
Scene *scene = bfd->curscene;
strcpy (pathname, maggie->name);
char *startscenename = scene->id.name + 2;
-
+ G.fileflags = bfd->fileflags;
+
titlename = maggie->name;
// Check whether the game should be displayed full-screen