diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index cb6d2075e..d8fb4eb77 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -226,12 +226,14 @@ Client::Client( IWritableTextureSource *tsrc, IWritableItemDefManager *itemdef, IWritableNodeDefManager *nodedef, - ISoundManager *sound + ISoundManager *sound, + MtEventManager *event ): m_tsrc(tsrc), m_itemdef(itemdef), m_nodedef(nodedef), m_sound(sound), + m_event(event), m_mesh_update_thread(this), m_env( new ClientMap(this, this, control, @@ -2330,4 +2332,8 @@ ISoundManager* Client::getSoundManager() { return m_sound; } +MtEventManager* Client::getEventManager() +{ + return m_event; +} |