Skip to content

Commit

Permalink
Added cast to avoid errors in msvc. Updated submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
hydren committed Jul 26, 2017
1 parent 35d53c1 commit 0b738b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ingame_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ void InGameState::render()

/* needs to draw HUD */

const float period = 1440, timeOfDay = fmod(ingameTime, period);
const float period = 1440, timeOfDay = fmod(ingameTime, (double) period);

if(timeOfDay < 0.625*period)
backgroundDay->draw();
Expand Down
2 changes: 1 addition & 1 deletion src_libs/fgeal
Submodule fgeal updated from 512030 to fe4442
2 changes: 1 addition & 1 deletion src_libs/futil
Submodule futil updated from 60a777 to 365586

0 comments on commit 0b738b2

Please sign in to comment.