diff options
author | uruk | 2014-05-13 10:29:41 +0200 |
---|---|---|
committer | uruk | 2014-05-13 10:33:15 +0200 |
commit | e30296976c56301f7d4f90868b6f95af87d2de4a (patch) | |
tree | 376a4a3bf79cbb4f007227df640d40761ec204a2 /engines/cge2/cge2.cpp | |
parent | 2f404690e79377eb960d0acba36f09441c4693fd (diff) | |
download | scummvm-rg350-e30296976c56301f7d4f90868b6f95af87d2de4a.tar.gz scummvm-rg350-e30296976c56301f7d4f90868b6f95af87d2de4a.tar.bz2 scummvm-rg350-e30296976c56301f7d4f90868b6f95af87d2de4a.zip |
CGE2: Instantiate CommandHandler.
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r-- | engines/cge2/cge2.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp index c9fb590400..0c8318a507 100644 --- a/engines/cge2/cge2.cpp +++ b/engines/cge2/cge2.cpp @@ -51,6 +51,7 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription) _heroTab[i] = nullptr; _eye = nullptr; _spare = nullptr; + _commandHandler = nullptr; _quitFlag = false; _bitmapPalette = nullptr; @@ -72,6 +73,7 @@ void CGE2Engine::init() { _heroTab[i] = new HeroTab(this); _eye = new V3D(); _spare = new Spare(this); + _commandHandler = new CommandHandler(this, false); } void CGE2Engine::deinit() { @@ -86,6 +88,7 @@ void CGE2Engine::deinit() { delete _heroTab[i]; delete _eye; delete _spare; + delete _commandHandler; } bool CGE2Engine::hasFeature(EngineFeature f) const { |