diff options
Diffstat (limited to 'scumm/palette.cpp')
-rw-r--r-- | scumm/palette.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp index 983adf6380..5f4ed3b09d 100644 --- a/scumm/palette.cpp +++ b/scumm/palette.cpp @@ -785,7 +785,6 @@ const byte *ScummEngine::findPalInPals(const byte *pal, int idx) { return NULL; size = getResourceDataSize(offs) / 4; - if ((uint32)idx >= (uint32)size) return NULL; |