From b20df6b41758f64cddf0fe8ca17b287c7f4a1bf3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 8 Jan 2017 19:52:08 +0200 Subject: CHEWY: Make the error for invalid text resources more verbose --- engines/chewy/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3