diff options
author | Tarek Soliman | 2012-02-21 13:34:30 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-22 07:04:59 -0600 |
commit | 6b91c94a096940285a2fe8909654fece0167900d (patch) | |
tree | 53c4eda934e9d88e001fe8f02fbcc21535410380 | |
parent | 221b78e4e2c057a3494618e2dfbd2f2b1f1ffe01 (diff) | |
download | scummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.tar.gz scummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.tar.bz2 scummvm-rg350-6b91c94a096940285a2fe8909654fece0167900d.zip |
KEYMAPPER: Initialize Event::customType
-rw-r--r-- | common/events.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h index 69cca9b54a..5f6a7798dd 100644 --- a/common/events.h +++ b/common/events.h @@ -118,7 +118,11 @@ struct Event { CustomEventType customType; #endif - Event() : type(EVENT_INVALID), synthetic(false) {} + Event() : type(EVENT_INVALID), synthetic(false) { +#ifdef ENABLE_KEYMAPPER + customType = 0; +#endif + } }; /** |