Revision: 54d9e1e932b4
Author:   Ingo Ruhnke <[email protected]>
Date:     Tue Dec 27 16:39:27 2011
Log: Use resource_path+"data" instead of just "data" for MacOSX data path

http://code.google.com/p/pingus/source/detail?r=54d9e1e932b4

Modified:
 /src/pingus/pingus_main.cpp

=======================================
--- /src/pingus/pingus_main.cpp Sat Oct 22 11:10:17 2011
+++ /src/pingus/pingus_main.cpp Tue Dec 27 16:39:27 2011
@@ -451,7 +451,7 @@
       exit(EXIT_FAILURE);
     }
     CFRelease(ref);
-    g_path_manager.set_path("data");
+    g_path_manager.set_path(Pathname.join(resource_path, "data"));
 #else
     g_path_manager.set_path("data"); // assume game is run from source dir
 #endif

_______________________________________________
pingus-cvs mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pingus-cvs

Reply via email to