Fixes to new message dispatcher.

This commit is contained in:
joint 2019-08-12 16:58:00 +03:00 committed by jeefo
commit ac733404e1
2 changed files with 10 additions and 2 deletions

View file

@ -142,6 +142,13 @@ public:
int32 id (NetMsg msg) const {
return m_maps[msg];
}
private:
void reset () {
m_current = NetMsg::None;
m_bot = nullptr;
m_broadcast = false;
}
};
static auto &msgs = MessageDispatcher::get ();