diff options
author | Colin Snover | 2016-08-14 14:09:30 -0500 |
---|---|---|
committer | Colin Snover | 2016-08-19 13:57:40 -0500 |
commit | fdb22904150caf50e6076904e65a29a833173bdd (patch) | |
tree | 2d4e25158d8a4d36b1dd8ccd58247ea91d3a534c /engines/sci/graphics/celobj32.h | |
parent | 79d9e0af68ccad31e6ef9faed176c5b0d4a6c47f (diff) | |
download | scummvm-rg350-fdb22904150caf50e6076904e65a29a833173bdd.tar.gz scummvm-rg350-fdb22904150caf50e6076904e65a29a833173bdd.tar.bz2 scummvm-rg350-fdb22904150caf50e6076904e65a29a833173bdd.zip |
SCI32: Add some bounds checking, const-correctness, and errors to CelObj
Diffstat (limited to 'engines/sci/graphics/celobj32.h')
-rw-r--r-- | engines/sci/graphics/celobj32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/celobj32.h b/engines/sci/graphics/celobj32.h index e1751deb64..e58fb50c98 100644 --- a/engines/sci/graphics/celobj32.h +++ b/engines/sci/graphics/celobj32.h @@ -400,7 +400,7 @@ public: * Reads the pixel at the given coordinates. This method * is valid only for CelObjView and CelObjPic. */ - virtual uint8 readPixel(uint16 x, uint16 y, bool mirrorX) const; + virtual uint8 readPixel(const uint16 x, const uint16 y, const bool mirrorX) const; /** * Submits the palette from this cel to the palette |