And one more "G.main" compile fix, this time for BGE ;)
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 5 Feb 2013 13:31:59 +0000 (13:31 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 5 Feb 2013 13:31:59 +0000 (13:31 +0000)
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

index 5082fca..5b2cfdd 100644 (file)
@@ -907,7 +907,7 @@ int main(int argc, char** argv)
                                                        if (domeWarp)
                                                        {
                                                                //XXX to do: convert relative to absolute path
-                                                               domeText= BKE_text_load(domeWarp, "");
+                                                               domeText= BKE_text_load(G.main, domeWarp, "");
                                                                if (!domeText)
                                                                        printf("error: invalid warpdata text file - %s\n", domeWarp);
                                                                else