3a96856ab4
numptyphysics -> 2010/09/16 npcomplete -> 2010/01/24 Kudos to sthen@ for mirroring the distfiles
18 lines
535 B
Plaintext
18 lines
535 B
Plaintext
$OpenBSD: patch-App_cpp,v 1.1 2012/12/12 14:58:00 dcoppa Exp $
|
|
--- App.cpp.orig Wed Dec 5 18:00:31 2012
|
|
+++ App.cpp Wed Dec 5 18:02:02 2012
|
|
@@ -177,12 +177,7 @@ class App : private Container (private)
|
|
levels->addPath( files[i] );
|
|
}
|
|
} else {
|
|
- struct stat st;
|
|
- if ( stat("Game.cpp",&st)==0 ) {
|
|
- levels->addPath( "data" );
|
|
- } else {
|
|
- levels->addPath( DEFAULT_LEVEL_PATH );
|
|
- }
|
|
+ levels->addPath( DEFAULT_LEVEL_PATH );
|
|
levels->addPath( Config::userDataDir().c_str() );
|
|
}
|
|
|