mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
Controller: zero-initialize wCam values (#902)
This commit is contained in:
parent
62f56a4791
commit
6da8ffae11
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
namespace Ship {
|
namespace Ship {
|
||||||
|
|
||||||
Controller::Controller() : isRumbling(false), wStickX(0), wStickY(0), wGyroX(0), wGyroY(0), dwPressedButtons(0){
|
Controller::Controller() : isRumbling(false), wStickX(0), wStickY(0), wGyroX(0), wGyroY(0), wCamX(0), wCamY(0), dwPressedButtons(0){
|
||||||
Attachment = nullptr;
|
Attachment = nullptr;
|
||||||
profiles.resize(MAXCONTROLLERS);
|
profiles.resize(MAXCONTROLLERS);
|
||||||
for(int slot = 0; slot < MAXCONTROLLERS; slot++) {
|
for(int slot = 0; slot < MAXCONTROLLERS; slot++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user