Skip to content

Commit

Permalink
Fix for Issue #1415Move::Move() is not properly initializing bool tri…
Browse files Browse the repository at this point in the history
…gger[MaxTriggerKeys];

from #1415
  • Loading branch information
pacomont committed Sep 20, 2015
1 parent e8d1238 commit a35d788
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Engine/source/T3D/gameBase/moveManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,8 @@ Move::Move()
checksum = false;
deviceIsKeyboardMouse = false;
freeLook = false;
trigger[0] = false;
trigger[1] = false;
trigger[2] = false;
trigger[3] = false;
trigger[4] = false;
trigger[5] = false;
for (S32 i = 0; i< MaxTriggerKeys; i++)
trigger[i] = false;
}

static inline F32 clampFloatWrap(F32 val)
Expand Down

0 comments on commit a35d788

Please sign in to comment.