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)
This commit is contained in:
Dalai Felinto 2010-07-18 01:51:14 +00:00
parent 40078f22b2
commit 7aebd56153

@ -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;