diff options
Diffstat (limited to 'engines/director/util.cpp')
-rw-r--r-- | engines/director/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/util.cpp b/engines/director/util.cpp index ccde2b3127..c53541e23f 100644 --- a/engines/director/util.cpp +++ b/engines/director/util.cpp @@ -48,7 +48,7 @@ char *numToCastNum(int num) { res[3] = '\0'; num--; - if (num > 0 && num <= 512) { + if (num >= 0 && num <= 512) { int c = num / 64; res[0] = 'A' + c; num -= 64 * c; |