aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2016-10-01 15:26:02 -0500
committerColin Snover2016-10-01 15:26:34 -0500
commitab88597a4ae653756010ca1758a7080968f0ad81 (patch)
treef46693223ba3cbbb78bb297a4916947c5287b56a /engines
parent84978b7caba7e85af13613de216de61e06ed4e7a (diff)
downloadscummvm-rg350-ab88597a4ae653756010ca1758a7080968f0ad81.tar.gz
scummvm-rg350-ab88597a4ae653756010ca1758a7080968f0ad81.tar.bz2
scummvm-rg350-ab88597a4ae653756010ca1758a7080968f0ad81.zip
SCI32: Make kNumCels error more detailed
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/celobj32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/celobj32.cpp b/engines/sci/graphics/celobj32.cpp
index 75140527d0..f538bf693c 100644
--- a/engines/sci/graphics/celobj32.cpp
+++ b/engines/sci/graphics/celobj32.cpp
@@ -824,7 +824,7 @@ int16 CelObjView::getNumCels(const GuiResourceId viewId, const int16 loopNo) {
SciWorkaroundSolution solution = trackOriginAndFindWorkaround(0, kNumCels_workarounds, &origin);
switch (solution.type) {
case WORKAROUND_NONE:
- error("[CelObjView::getNumCels]: loop number is equal to loop count in %s", origin.toString().c_str());
+ error("[CelObjView::getNumCels]: loop number %d is equal to loop count in view %u, %s", loopNo, viewId, origin.toString().c_str());
case WORKAROUND_FAKE:
return (int16)solution.value;
case WORKAROUND_IGNORE: