diff options
author | Paweł Kołodziejski | 2002-10-27 09:06:20 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-10-27 09:06:20 +0000 |
commit | 9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa (patch) | |
tree | 6225d0a8f922cf64b6f49aef9f4a7877dfc459fe /scumm/script.cpp | |
parent | 9c0959680286936d6e13f778c1f5f98781ae16ba (diff) | |
download | scummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.tar.gz scummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.tar.bz2 scummvm-rg350-9e0e2fa1d54bcf4ef9dab7a73c93b845fe1bbbaa.zip |
removed hardcoded values and increased range of strips
svn-id: r5329
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index ee3d536183..7d95e4ae4b 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -473,7 +473,7 @@ void Scumm::drawBox(int x, int y, int x2, int y2, int color) x2++; y2++; - if (x > 319) + if (x > _realWidth - 1) return; if (x < 0) x = 0; |