mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
Merge remote-tracking branch 'cc9cii/suppress-msvc-warning'
This commit is contained in:
commit
1b91bc73f6
2 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,10 @@ namespace MWMechanics
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UpdateSummonedCreatures::~UpdateSummonedCreatures()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void UpdateSummonedCreatures::visit(EffectKey key, const std::string &sourceName, const std::string &sourceId, int casterActorId, float magnitude, float remainingTime, float totalTime)
|
void UpdateSummonedCreatures::visit(EffectKey key, const std::string &sourceName, const std::string &sourceId, int casterActorId, float magnitude, float remainingTime, float totalTime)
|
||||||
{
|
{
|
||||||
if (isSummoningEffect(key.mId) && magnitude > 0)
|
if (isSummoningEffect(key.mId) && magnitude > 0)
|
||||||
|
|
|
@ -14,6 +14,7 @@ namespace MWMechanics
|
||||||
struct UpdateSummonedCreatures : public EffectSourceVisitor
|
struct UpdateSummonedCreatures : public EffectSourceVisitor
|
||||||
{
|
{
|
||||||
UpdateSummonedCreatures(const MWWorld::Ptr& actor);
|
UpdateSummonedCreatures(const MWWorld::Ptr& actor);
|
||||||
|
virtual ~UpdateSummonedCreatures();
|
||||||
|
|
||||||
virtual void visit (MWMechanics::EffectKey key,
|
virtual void visit (MWMechanics::EffectKey key,
|
||||||
const std::string& sourceName, const std::string& sourceId, int casterActorId,
|
const std::string& sourceName, const std::string& sourceId, int casterActorId,
|
||||||
|
|
Loading…
Reference in a new issue