diff options
author | James Brown | 2002-05-09 20:04:53 +0000 |
---|---|---|
committer | James Brown | 2002-05-09 20:04:53 +0000 |
commit | dc0fef7cc961a7811a18f064905bf4650b0cf5bf (patch) | |
tree | 0d69caf5ae83b87132d0077536222f471d547b4d | |
parent | ebbe5b4ae41ee0d9c60903d448e6b9a2b171b620 (diff) | |
download | scummvm-rg350-dc0fef7cc961a7811a18f064905bf4650b0cf5bf.tar.gz scummvm-rg350-dc0fef7cc961a7811a18f064905bf4650b0cf5bf.tar.bz2 scummvm-rg350-dc0fef7cc961a7811a18f064905bf4650b0cf5bf.zip |
Fix somebodys silly mistake for box scaling :)
svn-id: r4259
-rw-r--r-- | boxes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ int Scumm::getBoxScale(int box) if (_features & GF_NO_SCALLING) return (255); Box *ptr = getBoxBaseAddr(box); - if (!box) + if (!ptr) return 255; return FROM_LE_16(ptr->scale); } |