diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-10-19 08:02:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-10-19 08:02:37 +0400 |
commit | 42e287af1cc3ed2f37630f6f62c82c2d8ccc66b3 (patch) | |
tree | 6e05ba42d1aa9cd9d028a8a169675a4dcfb1aa08 /source/gameengine/GameLogic | |
parent | 72e5ede546cd5b17e4dec2f5b9949a9a58c3f7b5 (diff) |
source/blender/blenloader/intern/readfile.c - use memmove rather then strncpy for overlapping strings.
source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char.
source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized
source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh()
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r-- | source/gameengine/GameLogic/SCA_JoystickSensor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp index d0dc875da0b..8b96840b149 100644 --- a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp +++ b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp @@ -74,6 +74,7 @@ std::cout << " hat flag " << m_hatf << std::endl; void SCA_JoystickSensor::Init() { m_istrig=(m_invert)?1:0; + m_istrig_prev=0; m_reset = true; } |