diff options
Diffstat (limited to 'src/game/client/component.hpp')
| -rw-r--r-- | src/game/client/component.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/client/component.hpp b/src/game/client/component.hpp index 7955f845..8ba4a52b 100644 --- a/src/game/client/component.hpp +++ b/src/game/client/component.hpp @@ -7,9 +7,10 @@ class GAMECLIENT; class COMPONENT { +protected: + GAMECLIENT *client; public: ~COMPONENT() {} - GAMECLIENT *client; virtual void on_statechange(int new_state, int old_state) {}; virtual void on_init() {}; |