Initialize "mode" properly. Re #183.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3964 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 05e6e89422befba1a45bb62aaa4d751500a058cd
Former-commit-id: b5b3104c91232010030b12967efb3791c5285315
This commit is contained in:
kmetykog 2011-10-09 23:07:59 +00:00
parent 2fdf7ca302
commit e017ac7f68

View file

@ -133,7 +133,8 @@ static int current_light = RM_LIGHT_HEAD1 | RM_LIGHT_HEAD2;
#define START_TIME 2.0
KDriver::KDriver(int index) {
KDriver::KDriver(int index) :
mode_(NORMAL) {
INDEX = index;
}