Initialised all controller interfaces together on CFrame construction to fix the crash that would occur if the controller config were opened before a game was started.

This commit is contained in:
skidau
2015-02-04 18:05:22 +11:00
parent 5e645732f2
commit b9fb6ad3e8
6 changed files with 35 additions and 14 deletions

View File

@ -346,7 +346,7 @@ private:
void PollHotkeys(wxTimerEvent&);
void ParseHotkeys(wxKeyEvent &event);
bool InitHotkeys();
bool InitControllers();
// Event table
DECLARE_EVENT_TABLE();