diff options
author | Nipun Garg | 2019-07-14 04:07:54 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:20 +0200 |
commit | 723b86e1cf0f5cf96495e543811c8002df762cd1 (patch) | |
tree | 42695c9876a781f0d13d5930b17b661010a9dc85 /engines | |
parent | 779f455292c5d1ec31df2c9962a8d56bbce280aa (diff) | |
download | scummvm-rg350-723b86e1cf0f5cf96495e543811c8002df762cd1.tar.gz scummvm-rg350-723b86e1cf0f5cf96495e543811c8002df762cd1.tar.bz2 scummvm-rg350-723b86e1cf0f5cf96495e543811c8002df762cd1.zip |
HDB: Add cheating debug statment and remove...
redundant warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/menu.cpp | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index e5923ed9f0..218add0cdb 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -471,7 +471,7 @@ void AI::stopEntity(AIEntity *e) { e->state = STATE_FLOATING; return; default: - warning("AI-FUNCS: stopEntity: Unintended State"); + break; } if (e->type != AI_DIVERTER) { @@ -501,7 +501,7 @@ void AI::stopEntity(AIEntity *e) { e->state = STATE_NONE; break; default: - warning("AI-FUNCS: stopEntity: DIR_NONE"); + break; } } } diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp index d70642e7be..29be8f1ab4 100644 --- a/engines/hdb/menu.cpp +++ b/engines/hdb/menu.cpp @@ -126,6 +126,7 @@ void Menu::readConfig() { if (ConfMan.hasKey(CONFIG_CHEAT)) { g_hdb->setCheatingOn(); + debug("Cheating enabled"); } ConfMan.flushToDisk(); |