Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-07-18 05:51:14 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-07-18 05:51:14 +0400
commit7aebd561539140e2ae53b464536ba9aa43177795 (patch)
tree60d23f43f659c8fe12489315972f2d3ef8b6bba5 /source
parent40078f22b2af06ccf9b4e5c9d18d4865408e04d5 (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')
-rw-r--r--source/blender/blenkernel/intern/sca.c2
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;