12-09-2016, 11:40 PM
I'm pretty sure the limit is about 1000 stack frames (but do keep in note that there are multiple internal stack frames per function call). Are you sure that your functions do indeed get called as expected and you are not running into some other bug that causes the recursion to loop infinitely? If you still think there is something wrong with the stack limit, try to reproduce this issue on a smaller program so we can test it easier.
Just looked into the code to confirm, I was correct with the stack limit - https://github.com/colobot/colobot/blob/...ines.h#L23
Just looked into the code to confirm, I was correct with the stack limit - https://github.com/colobot/colobot/blob/...ines.h#L23