Permalink
Browse files

renamed ghost.cfg to default.cfg

the bot now loads default.cfg first then loads ghost.cfg (or the file specified on the command line) and overrides default.cfg with any values in ghost.cfg

git-svn-id: http://ghostplusplus.googlecode.com/svn/trunk@406 a7494f72-a4b0-11dd-a887-7ffe1a420f8d
  • Loading branch information...
1 parent 4efa5b4 commit ddce76700a3aafc7e3ad162d9d47f3490ea791b5 hogantp committed Mar 28, 2010
Showing with 1 addition and 0 deletions.
  1. 0 ghost.cfg → default.cfg
  2. +1 −0 ghost/ghost.cpp
File renamed without changes.
View
@@ -239,6 +239,7 @@ int main( int argc, char **argv )
// read config file
CConfig CFG;
+ CFG.Read( "default.cfg" );
CFG.Read( gCFGFile );
gLogFile = CFG.GetString( "bot_log", string( ) );
gLogMethod = CFG.GetInt( "bot_logmethod", 1 );

0 comments on commit ddce767

Please sign in to comment.