diff options
author | D G Turner | 2019-10-03 04:57:18 +0100 |
---|---|---|
committer | D G Turner | 2019-10-03 04:57:18 +0100 |
commit | 904e58c35b00c02bf869c17abb9f037e76d4a1a4 (patch) | |
tree | 970a65caeb975ab8933727c2360582ac74125512 /engines/sludge/backdrop.cpp | |
parent | 7cc908f0ac049a9be9cd425a38124c6238ad3629 (diff) | |
download | scummvm-rg350-904e58c35b00c02bf869c17abb9f037e76d4a1a4.tar.gz scummvm-rg350-904e58c35b00c02bf869c17abb9f037e76d4a1a4.tar.bz2 scummvm-rg350-904e58c35b00c02bf869c17abb9f037e76d4a1a4.zip |
SLUDGE: Really Fix MSVC Warnings
Diffstat (limited to 'engines/sludge/backdrop.cpp')
-rw-r--r-- | engines/sludge/backdrop.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp index 618e8e9f59..b7671da1b9 100644 --- a/engines/sludge/backdrop.cpp +++ b/engines/sludge/backdrop.cpp @@ -388,8 +388,7 @@ bool GraphicsManager::loadLightMap(int v) { if (_lightMapMode == LIGHTMAPMODE_HOTSPOT) { return fatal("Light map width and height don't match scene width and height. That is required for lightmaps in HOTSPOT mode."); } else if (_lightMapMode == LIGHTMAPMODE_PIXEL) { - uint tmpColor = TS_ARGB(255, 255, 255, 255); - tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, tmpColor, (int)_sceneWidth, (int)_sceneHeight); + tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB((uint)255, (uint)255, (uint)255, (uint)255), (int)_sceneWidth, (int)_sceneHeight); } else { _lightMap.copyFrom(tmp); } |