forked from mirror/openmw-tes3mp
compile fix
This commit is contained in:
parent
5d4d35a02c
commit
d1d21c8a0e
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ void Objects::update(const float dt)
|
|||
|
||||
// Light animation (pulse & flicker)
|
||||
it->time += dt;
|
||||
const float phase = std::fmod(it->time, (32 * 2 * M_PI)) * 20;
|
||||
const float phase = std::fmod(static_cast<double> (it->time), (32 * 2 * M_PI)) * 20;
|
||||
float pulseConstant;
|
||||
|
||||
// These formulas are just guesswork, but they work pretty well
|
||||
|
|
Loading…
Reference in a new issue