mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Initialize mTimerDisposeSummonsCorpses in class definition
This commit is contained in:
parent
86e5b94ef6
commit
fb5e5335aa
@ -1164,9 +1164,6 @@ namespace MWMechanics
|
||||
Actors::Actors()
|
||||
: mSmoothMovement(Settings::Manager::getBool("smooth movement", "Game"))
|
||||
{
|
||||
mTimerDisposeSummonsCorpses
|
||||
= 0.2f; // We should add a delay between summoned creature death and its corpse despawning
|
||||
|
||||
updateProcessingRange();
|
||||
}
|
||||
|
||||
|
@ -179,7 +179,8 @@ namespace MWMechanics
|
||||
std::map<ESM::RefId, int> mDeathCount;
|
||||
std::list<Actor> mActors;
|
||||
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 mTimerUpdateEquippedLight = 0;
|
||||
float mTimerUpdateHello = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user