Fixes to new message dispatcher.
This commit is contained in:
parent
9947e41549
commit
ac733404e1
2 changed files with 10 additions and 2 deletions
|
|
@ -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 ();
|
||||
Loading…
Add table
Add a link
Reference in a new issue