aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/font.cpp')
-rw-r--r--engines/tony/font.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tony/font.cpp b/engines/tony/font.cpp
index db51dc3b79..b0e42407cf 100644
--- a/engines/tony/font.cpp
+++ b/engines/tony/font.cpp
@@ -120,6 +120,7 @@ RMGfxPrimitive *RMFont::MakeLetterPrimitive(byte bChar, int &nLength) {
// Converte da carattere a lettera
nLett = ConvertToLetter(bChar);
+ assert(nLett < nLetters);
// Crea la primitiva per il font
prim = new RMFontPrimitive(this);