|
|
@ -384,7 +384,16 @@ bool OMW::Engine::frame(float frametime)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
double hours = (frametime * mEnvironment.getWorld()->getTimeScaleFactor()) / 3600.0;
|
|
|
|
double hours = (frametime * mEnvironment.getWorld()->getTimeScaleFactor()) / 3600.0;
|
|
|
|
mEnvironment.getWorld()->advanceTime(hours, true);
|
|
|
|
mEnvironment.getWorld()->advanceTime(hours, true);
|
|
|
|
mEnvironment.getWorld()->rechargeItems(frametime, true);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Start of tes3mp change (major)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Don't unilaterally recharge world items on clients
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//mEnvironment.getWorld()->rechargeItems(frametime, true);
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
End of tes3mp change (major)
|
|
|
|
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|