mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
TONY: Added assert for character indexes outside provided font
This commit is contained in:
parent
b63c28c1a0
commit
e76a55588a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user