GNAP: Move debug channel registration to the top of the engine constructor

This commit is contained in:
Eugene Sandulenko 2016-07-28 11:36:33 +03:00
parent 2d428e2760
commit 1fe60f10fa

View File

@ -91,9 +91,10 @@ static const char *kSceneNames[] = {
GnapEngine::GnapEngine(OSystem *syst, const ADGameDescription *gd) :
Engine(syst), _gameDescription(gd) {
_random = new Common::RandomSource("gnap");
DebugMan.addDebugChannel(kDebugBasic, "basic", "Basic debug level");
_random = new Common::RandomSource("gnap");
Engine::syncSoundSettings();
_exe = nullptr;