From b049acb81d973d3af51217cd45e6e5ba9b0de52f Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 15 May 2014 21:17:01 -0400 Subject: [PATCH] Make STKMeshSceneNode destructor virtual, as it should --- src/graphics/stkmeshscenenode.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/stkmeshscenenode.hpp b/src/graphics/stkmeshscenenode.hpp index 27f0325ed..35588e430 100644 --- a/src/graphics/stkmeshscenenode.hpp +++ b/src/graphics/stkmeshscenenode.hpp @@ -35,7 +35,7 @@ public: const irr::core::vector3df& scale = irr::core::vector3df(1.0f, 1.0f, 1.0f)); virtual void render(); virtual void setMesh(irr::scene::IMesh* mesh); - ~STKMeshSceneNode(); + virtual ~STKMeshSceneNode(); }; #endif