mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 10:23:56 +00:00
Suppress warning about the lack of virtual destructor.
This commit is contained in:
parent
6cc9fa2b3f
commit
efdee19477
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)
|
||||
{
|
||||
if (isSummoningEffect(key.mId) && magnitude > 0)
|
||||
|
|
|
@ -14,6 +14,7 @@ namespace MWMechanics
|
|||
struct UpdateSummonedCreatures : public EffectSourceVisitor
|
||||
{
|
||||
UpdateSummonedCreatures(const MWWorld::Ptr& actor);
|
||||
virtual ~UpdateSummonedCreatures();
|
||||
|
||||
virtual void visit (MWMechanics::EffectKey key,
|
||||
const std::string& sourceName, const std::string& sourceId, int casterActorId,
|
||||
|
|
Loading…
Reference in a new issue