This should fix up saving a blender runtime.
authorKent Mein <mein@cs.umn.edu>
Tue, 7 Aug 2007 16:34:45 +0000 (16:34 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 7 Aug 2007 16:34:45 +0000 (16:34 +0000)
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

source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

index ab8f3eb3969681d1176f67d1c254ffd6e6c44246..23447d3640146daaea20d3c9d8800178e1fa6a6a 100644 (file)
@@ -522,7 +522,7 @@ int main(int argc, char** argv)
                printf("error: window size too small.\n");
        }
        
                printf("error: window size too small.\n");
        }
        
-       if (error || argc == 1) 
+       if (error )
        {
                usage(argv[0]);
                return 0;
        {
                usage(argv[0]);
                return 0;