diff options
author | Eugene Sandulenko | 2017-03-17 09:24:59 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-17 09:24:59 +0000 |
commit | 444d193a36b4f6c20aad1c1294fad638da85d593 (patch) | |
tree | ee18541590d179a20793e0663be39e94a0d9cc3d /engines | |
parent | 2dc77ededa064aeacf36a677b2933f19e6f59f37 (diff) | |
download | scummvm-rg350-444d193a36b4f6c20aad1c1294fad638da85d593.tar.gz scummvm-rg350-444d193a36b4f6c20aad1c1294fad638da85d593.tar.bz2 scummvm-rg350-444d193a36b4f6c20aad1c1294fad638da85d593.zip |
DIRECTOR: Fix num to cast id for cast A11
Diffstat (limited to 'engines')
-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; |