diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-27 15:53:52 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-27 15:53:52 +0000 |
| commit | dc67b341387f539f11f8964c299ce479e36cc142 (patch) | |
| tree | cb9e20624f8fa2c2fe559f46808e6e6a7ec93a4b /src/game | |
| parent | b322643f1725063793228292625ad155577b30d6 (diff) | |
| download | zcatch-dc67b341387f539f11f8964c299ce479e36cc142.tar.gz zcatch-dc67b341387f539f11f8964c299ce479e36cc142.zip | |
added virtual destructor
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/component.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) {}; |