Hopefully fixed the Windows/VS2013 build.

This commit is contained in:
Alex Szpakowski
2015-09-05 11:30:59 -03:00
parent dc7cffe111
commit 4dbc11800e
+5 -1
View File
@@ -109,10 +109,14 @@ private:
float left = 0.0f;
float right = 0.0f;
SDL_HapticEffect effect = {};
Uint16 data[4] = {0};
Uint16 data[4];
int id = -1;
Uint32 endtime = SDL_HAPTIC_INFINITY;
Vibration()
: data() // VS2013 can't initialize the array above...
{}
} vibration;
static EnumMap<Hat, Uint8, Joystick::HAT_MAX_ENUM>::Entry hatEntries[];