mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-12 09:11:42 +00:00
Initialize mTimerDisposeSummonsCorpses in class definition
This commit is contained in:
parent
86e5b94ef6
commit
fb5e5335aa
2 changed files with 2 additions and 4 deletions
|
@ -1164,9 +1164,6 @@ namespace MWMechanics
|
||||||
Actors::Actors()
|
Actors::Actors()
|
||||||
: mSmoothMovement(Settings::Manager::getBool("smooth movement", "Game"))
|
: mSmoothMovement(Settings::Manager::getBool("smooth movement", "Game"))
|
||||||
{
|
{
|
||||||
mTimerDisposeSummonsCorpses
|
|
||||||
= 0.2f; // We should add a delay between summoned creature death and its corpse despawning
|
|
||||||
|
|
||||||
updateProcessingRange();
|
updateProcessingRange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,8 @@ namespace MWMechanics
|
||||||
std::map<ESM::RefId, int> mDeathCount;
|
std::map<ESM::RefId, int> mDeathCount;
|
||||||
std::list<Actor> mActors;
|
std::list<Actor> mActors;
|
||||||
std::map<const MWWorld::LiveCellRefBase*, std::list<Actor>::iterator> mIndex;
|
std::map<const MWWorld::LiveCellRefBase*, std::list<Actor>::iterator> mIndex;
|
||||||
float mTimerDisposeSummonsCorpses;
|
// We should add a delay between summoned creature death and its corpse despawning
|
||||||
|
float mTimerDisposeSummonsCorpses = 0.2f;
|
||||||
float mTimerUpdateHeadTrack = 0;
|
float mTimerUpdateHeadTrack = 0;
|
||||||
float mTimerUpdateEquippedLight = 0;
|
float mTimerUpdateEquippedLight = 0;
|
||||||
float mTimerUpdateHello = 0;
|
float mTimerUpdateHello = 0;
|
||||||
|
|
Loading…
Reference in a new issue