From dc67b341387f539f11f8964c299ce479e36cc142 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 27 Aug 2008 15:53:52 +0000 Subject: added virtual destructor --- src/game/client/component.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client') diff --git a/src/game/client/component.hpp b/src/game/client/component.hpp index 5bc7830d..7955f845 100644 --- a/src/game/client/component.hpp +++ b/src/game/client/component.hpp @@ -8,6 +8,7 @@ class GAMECLIENT; class COMPONENT { public: + ~COMPONENT() {} GAMECLIENT *client; virtual void on_statechange(int new_state, int old_state) {}; -- cgit 1.4.1