diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-07-18 05:51:14 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-07-18 05:51:14 +0400 |
commit | 7aebd561539140e2ae53b464536ba9aa43177795 (patch) | |
tree | 60d23f43f659c8fe12489315972f2d3ef8b6bba5 /source/blender/blenkernel/intern | |
parent | 40078f22b2af06ccf9b4e5c9d18d4865408e04d5 (diff) |
fixing small ambiguity in the logic brick link code
(not sure it booms in any compiler, but it doesn't hurt to make it right)
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/sca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sca.c b/source/blender/blenkernel/intern/sca.c index 61e98ce9d45..f5ca7ee3cef 100644 --- a/source/blender/blenkernel/intern/sca.c +++ b/source/blender/blenkernel/intern/sca.c @@ -800,7 +800,7 @@ void link_logicbricks(void **poin, void ***ppoin, short *tot, short size) (*tot) ++; *ppoin = MEM_callocN((*tot)*size, "new link"); - for (ibrick=0; ibrick < *tot - 1; ibrick++) { + for (ibrick=0; ibrick < *(tot) - 1; ibrick++) { (*ppoin)[ibrick] = old_links[ibrick]; } (*ppoin)[ibrick] = *poin; |