Browse Source

initialize keycode

David Rose 17 years ago
parent
commit
c82dbc649b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/tform/mouseWatcherParameter.I

+ 1 - 0
panda/src/tform/mouseWatcherParameter.I

@@ -20,6 +20,7 @@
 ////////////////////////////////////////////////////////////////////
 INLINE MouseWatcherParameter::
 MouseWatcherParameter() {
+  _keycode = 0;
   _flags = 0;
 }