forked from bartvdbraak/blender
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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user