[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Stack overflow
- From: lukey@... (Jens Hassler)
- Date: 03 May 2002 21:06:00 +0200
Hi Sean,
>> sprintf(func, "hook_object_update", n);
> What is with this line? What is the variable n there?
Sorry, I missed this line when I was simplifying the code for posting. In
the original line a specific function with a number (n) was called.
The error was in the missing "lua.pop(1)". I didn't know that lua.tonumber
does not pop the value from the stack.
Thx, it works perfectly now.
Jens