diff options
author | Eugene Sandulenko | 2019-07-12 22:30:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:18 +0200 |
commit | 1874674364a4bf94a378e9009e10c9a8fa13525f (patch) | |
tree | ed62f5ea145dc681669878fd11cde2f084735c0d /engines | |
parent | a869eb00a0d246db8add300e083d831b70dea8ab (diff) | |
download | scummvm-rg350-1874674364a4bf94a378e9009e10c9a8fa13525f.tar.gz scummvm-rg350-1874674364a4bf94a378e9009e10c9a8fa13525f.tar.bz2 scummvm-rg350-1874674364a4bf94a378e9009e10c9a8fa13525f.zip |
HDB: More debug for save/load code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/saveload.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hdb/saveload.cpp b/engines/hdb/saveload.cpp index 9c8186d358..acda89222e 100644 --- a/engines/hdb/saveload.cpp +++ b/engines/hdb/saveload.cpp @@ -196,7 +196,7 @@ void AIEntity::save(Common::OutSaveFile *out) { lookUp = g_hdb->_ai->funcLookUp(aiAction); memset(&funcString, 0, 32); if (!lookUp && aiAction) - error("AIEntity::save: No matching ACTION function for func-string"); + error("AIEntity::save: No matching ACTION function for func-string for %s entity", AIType2Str(type)); if (lookUp) strcpy(funcString, lookUp); out->write(funcString, 32); @@ -204,7 +204,7 @@ void AIEntity::save(Common::OutSaveFile *out) { lookUp = g_hdb->_ai->funcLookUp(aiUse); memset(&funcString, 0, 32); if (!lookUp && aiUse) - error("AIEntity::save: No matching USE function for func-string"); + error("AIEntity::save: No matching USE function for func-string for %s entity", AIType2Str(type)); if (lookUp) strcpy(funcString, lookUp); out->write(funcString, 32); @@ -212,7 +212,7 @@ void AIEntity::save(Common::OutSaveFile *out) { lookUp = g_hdb->_ai->funcLookUp(aiInit); memset(&funcString, 0, 32); if (!lookUp && aiInit) - error("AIEntity::save: No matching INIT function for func-string"); + error("AIEntity::save: No matching INIT function for func-string for %s entity", AIType2Str(type)); if (lookUp) strcpy(funcString, lookUp); out->write(funcString, 32); @@ -220,7 +220,7 @@ void AIEntity::save(Common::OutSaveFile *out) { lookUp = g_hdb->_ai->funcLookUp(aiInit2); memset(&funcString, 0, 32); if (!lookUp && aiInit2) - error("AIEntity::save: No matching INIT2 function for func-string"); + error("AIEntity::save: No matching INIT2 function for func-string for %s entity", AIType2Str(type)); if (lookUp) strcpy(funcString, lookUp); out->write(funcString, 32); @@ -228,7 +228,7 @@ void AIEntity::save(Common::OutSaveFile *out) { lookUp = g_hdb->_ai->funcLookUp((FuncPtr)aiDraw); memset(&funcString, 0, 32); if (!lookUp && aiDraw) - error("AIEntity::save: No matching DRAW function for func-string"); + error("AIEntity::save: No matching DRAW function for func-string for %s entity", AIType2Str(type)); if (lookUp) strcpy(funcString, lookUp); out->write(funcString, 32); |