From 5bea54f4066fdab0bca0d0549ad32d30e20f48d5 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 14 Sep 2006 21:50:40 +0000 Subject: [PATCH] Initialize all members. --- stepmania/src/InputEventPlus.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stepmania/src/InputEventPlus.h b/stepmania/src/InputEventPlus.h index d982ac3b58..65b784833f 100644 --- a/stepmania/src/InputEventPlus.h +++ b/stepmania/src/InputEventPlus.h @@ -10,10 +10,14 @@ class InputEventPlus { public: - InputEventPlus() : pn(PLAYER_INVALID), mp(MultiPlayer_INVALID) { } + InputEventPlus(): + type(IET_FIRST_PRESS), + MenuI(MenuButton_INVALID), + pn(PLAYER_INVALID), + mp(MultiPlayer_INVALID) { } DeviceInput DeviceI; - InputEventType type; GameInput GameI; + InputEventType type; MenuButton MenuI; PlayerNumber pn; MultiPlayer mp;