Skip to content

Commit

Permalink
SWORD1: Silence some MSVC warnings (conversion from double to float)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Feb 13, 2012
1 parent 57e3388 commit 51ef8a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/sword1/animation.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 51ef8a7

Please sign in to comment.