diff options
author | Filippos Karapetis | 2012-01-22 12:23:55 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-02-13 02:30:05 +0200 |
commit | 51ef8a78ccc556527d58ab552b7a8b589f2c7c27 (patch) | |
tree | 4301d21335908e0422df4d90bfd2391570975b87 | |
parent | 57e3388197ed42aa9a43a9ba4e9ffa4bd8a3ae58 (diff) | |
download | scummvm-rg350-51ef8a78ccc556527d58ab552b7a8b589f2c7c27.tar.gz scummvm-rg350-51ef8a78ccc556527d58ab552b7a8b589f2c7c27.tar.bz2 scummvm-rg350-51ef8a78ccc556527d58ab552b7a8b589f2c7c27.zip |
SWORD1: Silence some MSVC warnings (conversion from double to float)
-rw-r--r-- | engines/sword1/animation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index a8c313f2f8..5ad84d995f 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -271,10 +271,10 @@ bool MoviePlayer::playVideo() { // Look for the best color indexes to use to display the subtitles uint32 minWeight = 0xFFFFFFFF; uint32 weight; - float c1Weight = 1e+30; - float c2Weight = 1e+30; - float c3Weight = 1e+30; - float c4Weight = 1e+30; + float c1Weight = 1e+30f; + float c2Weight = 1e+30f; + float c3Weight = 1e+30f; + float c4Weight = 1e+30f; byte r, g, b; float h, s, v, hd, hsvWeight; |