From c82dbc649b8f8a8f27782d30b5bf28accd1a226c Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 29 Sep 2008 18:36:04 +0000 Subject: [PATCH] initialize keycode --- panda/src/tform/mouseWatcherParameter.I | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/tform/mouseWatcherParameter.I b/panda/src/tform/mouseWatcherParameter.I index bfb879c7ac..fda8135a67 100644 --- a/panda/src/tform/mouseWatcherParameter.I +++ b/panda/src/tform/mouseWatcherParameter.I @@ -20,6 +20,7 @@ //////////////////////////////////////////////////////////////////// INLINE MouseWatcherParameter:: MouseWatcherParameter() { + _keycode = 0; _flags = 0; }