mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-12 13:51:42 +00:00
[Client] Don't unilaterally recharge world items on clients
This commit is contained in:
parent
343e3f26e6
commit
4476609872
1 changed files with 10 additions and 1 deletions
|
@ -384,7 +384,16 @@ bool OMW::Engine::frame(float frametime)
|
|||
{
|
||||
double hours = (frametime * mEnvironment.getWorld()->getTimeScaleFactor()) / 3600.0;
|
||||
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)
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue