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:
authorKent Mein <mein@cs.umn.edu>2007-08-07 20:34:45 +0400
committerKent Mein <mein@cs.umn.edu>2007-08-07 20:34:45 +0400
commit38ec778cb7a5d4b9739fb097f869d4fc697c2234 (patch)
tree3f733ac93bce187f8acf74a783427086bef19ce0 /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
parent2807d82e90cc72355923ee4319fbb9b3984c1a4d (diff)
This should fix up saving a blender runtime.
If you look at the log, the last change to this file I was trying to fix game engine bug #6667. In so doing I added a print usage if you do not pass any arguments to the gameplayer. Things should work better now. Kent
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp2
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 ab8f3eb3969..23447d36401 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -522,7 +522,7 @@ int main(int argc, char** argv)
printf("error: window size too small.\n");
}
- if (error || argc == 1)
+ if (error )
{
usage(argv[0]);
return 0;