mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
compile fix
This commit is contained in:
parent
5d4d35a02c
commit
d1d21c8a0e
@ -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…
x
Reference in New Issue
Block a user