diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-17 14:46:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-17 14:46:02 +0400 |
commit | 02f707e9dac91d60f75ebd0ef48200cfb32c0d7d (patch) | |
tree | 99dcbd818d0c435108980b71faa18abdbcbeb2b2 /source/gameengine/Ketsji/KX_GameObject.cpp | |
parent | 1fc345cd326d10ceceb60d61bfd5c386f79b1ee5 (diff) |
minor mathutils code cleanup - use mathutils callbacks as unsigned chars everywhere.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 11129248338..43cd16340d0 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -1374,7 +1374,7 @@ void KX_GameObject::Relink(CTR_Map<CTR_HashedPtr, void*> *map_parameter) #define MATHUTILS_VEC_CB_ANGVEL_LOCAL 9 #define MATHUTILS_VEC_CB_ANGVEL_GLOBAL 10 -static int mathutils_kxgameob_vector_cb_index= -1; /* index for our callbacks */ +static unsigned char mathutils_kxgameob_vector_cb_index= -1; /* index for our callbacks */ static int mathutils_kxgameob_generic_check(BaseMathObject *bmo) { @@ -1514,7 +1514,7 @@ Mathutils_Callback mathutils_kxgameob_vector_cb = { #define MATHUTILS_MAT_CB_ORI_LOCAL 1 #define MATHUTILS_MAT_CB_ORI_GLOBAL 2 -static int mathutils_kxgameob_matrix_cb_index= -1; /* index for our callbacks */ +static unsigned char mathutils_kxgameob_matrix_cb_index= -1; /* index for our callbacks */ static int mathutils_kxgameob_matrix_get(BaseMathObject *bmo, int subtype) { |