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:
authorCampbell Barton <ideasman42@gmail.com>2010-03-26 14:35:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-26 14:35:57 +0300
commit991f6f5998314635de8a096f78906715684aae7f (patch)
treee38446fb2a893cc1012c9dfc0b45b2f9d5ec7a05 /source/creator
parentb1475ae2c6e991ee4f9b1eb73f207f7b91a194c2 (diff)
- game engine checking for autoexec was using the wrong global flag.
- 'Trusted Source' option was being overwritten on read making it usless.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index aceef5ebef8..365d358b840 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1062,7 +1062,7 @@ int main(int argc, char **argv)
}
else {
- if((G.fileflags & G_FILE_AUTOPLAY) && (G.fileflags & G_SCRIPT_AUTOEXEC))
+ if((G.fileflags & G_FILE_AUTOPLAY) && (G.f & G_SCRIPT_AUTOEXEC))
WM_init_game(C);
else if(!G.file_loaded)