diff options
Diffstat (limited to 'games/criticalmass/patches/patch-game_main.cpp')
-rw-r--r-- | games/criticalmass/patches/patch-game_main.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/games/criticalmass/patches/patch-game_main.cpp b/games/criticalmass/patches/patch-game_main.cpp index b74dc4dc420..08a625f5da5 100644 --- a/games/criticalmass/patches/patch-game_main.cpp +++ b/games/criticalmass/patches/patch-game_main.cpp @@ -1,10 +1,11 @@ -$NetBSD: patch-game_main.cpp,v 1.1 2011/06/20 09:30:03 wiz Exp $ +$NetBSD: patch-game_main.cpp,v 1.1.44.1 2016/12/11 20:47:09 spz Exp $ Add missing include (uncovered by png-1.5). +Disable online update by default. --- game/main.cpp.orig 2006-06-30 03:46:11.000000000 +0000 +++ game/main.cpp -@@ -24,6 +24,7 @@ +@@ -24,17 +24,18 @@ #include <ResourceManager.hpp> #include <GetDataPath.hpp> #include <OnlineUpdate.hpp> @@ -12,3 +13,16 @@ Add missing include (uncovered by png-1.5). #include <sys/stat.h> #include <sys/types.h> + + void migrateConfig( void) + { +- //if onlineCheck is not set, default it to true ++ //if onlineCheck is not set, default it to false + bool dummy; + if( ! ConfigS::instance()->getBoolean( "onlineCheck", dummy)) + { +- ConfigS::instance()->updateKeyword( "onlineCheck", "1"); ++ ConfigS::instance()->updateKeyword( "onlineCheck", "0"); + } + + #ifdef WIN32 |