diff options
author | uruk | 2013-07-24 00:14:07 +0200 |
---|---|---|
committer | uruk | 2013-07-24 00:14:07 +0200 |
commit | 984b478132d4d7bd65c17a7ff5728373e5b2fdd9 (patch) | |
tree | 37b0e1480aadeff9167b233199be62b8516214a3 /engines | |
parent | 2af413cccfc7f2bd09b097cffa369bb222b20484 (diff) | |
download | scummvm-rg350-984b478132d4d7bd65c17a7ff5728373e5b2fdd9.tar.gz scummvm-rg350-984b478132d4d7bd65c17a7ff5728373e5b2fdd9.tar.bz2 scummvm-rg350-984b478132d4d7bd65c17a7ff5728373e5b2fdd9.zip |
AVALANCHE: Modify comment in Dropdown::chalk().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/dropdown2.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/avalanche/dropdown2.cpp b/engines/avalanche/dropdown2.cpp index ce95fd2b27..8828cb6c99 100644 --- a/engines/avalanche/dropdown2.cpp +++ b/engines/avalanche/dropdown2.cpp @@ -290,8 +290,9 @@ void Dropdown::chalk(int16 x, int16 y, char t, Common::String z, bool valid) { byte pixel = ~(_vm->_gyro.little[z[fv]][ff] & ander); // Note that it's the bitwise NOT operator! for (byte bit = 0; bit < 8; bit++) { byte pixelBit = (pixel >> bit) & 1; - *_vm->_graph.getPixel(x * 8 + fv * 8 + 7 - bit, y + ff) = pixelBit | (pixelBit << 1) | (pixelBit << 2); - // We don't have to bother with the planes. See the original. Note that it's the bitwise OR operator! + *_vm->_graph.getPixel(x * 8 + fv * 8 + 7 - bit, y + ff) = pixelBit + (pixelBit << 1) + (pixelBit << 2); + // We don't have to bother with the planes, since they all have the same value. See the original. + // Note that it's the bitwise OR operator! } } |