diff options
| author | D G Turner | 2019-09-30 04:41:54 +0100 |
|---|---|---|
| committer | D G Turner | 2019-09-30 04:41:54 +0100 |
| commit | 75ee80cf1e2cbafff6523cc0a7c1376315959ab8 (patch) | |
| tree | c871d2d326b8df24f0faa048aafaf9fdaaa9b718 /engines/sludge/backdrop.cpp | |
| parent | cefad7a5d0095e97b2a5cadef684086c53f18adb (diff) | |
| download | scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.tar.gz scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.tar.bz2 scummvm-rg350-75ee80cf1e2cbafff6523cc0a7c1376315959ab8.zip | |
SLUDGE: Fix Some MSVC Warnings
Diffstat (limited to 'engines/sludge/backdrop.cpp')
| -rw-r--r-- | engines/sludge/backdrop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp index 610a84a2a4..dfb570fb3f 100644 --- a/engines/sludge/backdrop.cpp +++ b/engines/sludge/backdrop.cpp @@ -388,7 +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) { - tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB(255, 255, 255, 255), _sceneWidth, _sceneHeight); + tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB(255, 255, 255, 255), (int)_sceneWidth, (int)_sceneHeight); } else { _lightMap.copyFrom(tmp); } |
