aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy
diff options
context:
space:
mode:
authorFilippos Karapetis2017-01-08 19:52:08 +0200
committerFilippos Karapetis2017-01-08 20:24:39 +0200
commitb20df6b41758f64cddf0fe8ca17b287c7f4a1bf3 (patch)
treee8c926574ca3f1ed7be70807a6261266bf4dbf68 /engines/chewy
parent981ff3b2240c5c104f333ecd4dd541a97c188203 (diff)
downloadscummvm-rg350-b20df6b41758f64cddf0fe8ca17b287c7f4a1bf3.tar.gz
scummvm-rg350-b20df6b41758f64cddf0fe8ca17b287c7f4a1bf3.tar.bz2
scummvm-rg350-b20df6b41758f64cddf0fe8ca17b287c7f4a1bf3.zip
CHEWY: Make the error for invalid text resources more verbose
Diffstat (limited to 'engines/chewy')
-rw-r--r--engines/chewy/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/chewy/text.cpp b/engines/chewy/text.cpp
index fcf07a684b..cf0fb041a7 100644
--- a/engines/chewy/text.cpp
+++ b/engines/chewy/text.cpp
@@ -113,7 +113,7 @@ TextEntry *Text::getText(uint dialogNum, uint entryNum) {
} while (*ptr);
if (*(ptr + 1) != kEndText || *(ptr + 2) != kEndChunk)
- error("Invalid text resource - %d", dialogNum);
+ error("Invalid text resource - %d, %d", dialogNum, entryNum);
if (!isText)
ptr += 3; // 0, kEndText, kEndChunk