Changeset 879 – HoverRace

Changeset 879

Show
Ignore:
Timestamp:
02/28/10 23:37:13 (5 months ago)
Author:
zoogie
Message:

Console::Init() must now be explicitly called after the constructor so that overriding InitEnv() and InitGlobals() works properly.

Location:
trunk/client/Game2
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/client/Game2/Console.cpp

    r703 r879  
    6464    chunk.reserve(1024); 
    6565    logStream = boost::shared_ptr<std::ostream>(new LogStream(this)); 
    66     Init(); 
    6766} 
    6867 
  • trunk/client/Game2/Console.h

    r703 r879  
    4343        virtual ~Console(); 
    4444 
    45     private: 
     45    public: 
    4646        void Init(); 
    4747    protected: 
  • trunk/client/Game2/GameApp.cpp

    r878 r879  
    15371537        if (Config::GetInstance()->runtime.enableConsole) { 
    15381538            highConsole = new HighConsole(); 
     1539            highConsole->Init(); 
    15391540        } 
    15401541