enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] ant33.lua runtime error under lua 5


From: Daniel Heck
Subject: Re: [Enigma-devel] ant33.lua runtime error under lua 5
Date: Wed, 21 Jun 2006 09:10:04 +0200
User-agent: Thunderbird 1.5.0.4 (X11/20060615)

Tacvek wrote:
> 
> The changes to ant.lua: were any of them functional, or were they just
> updates to the new style of
> Lua 5.0? Also you might want to update  'data/levels/ant.lua' (the
> temporary compatibility copy.)

Now that you ask, no they weren't functional.  I didn't notice that we
have LUA_COMPAT_VARARG set in luaconf.h

> And the changes to ant33.lua: instead of calling the returned function
> of cells{} directly, the callback calls an anonymous argumentless
> function that explcitly calls the return value of cell{}. Is that correct?

I think so, but that's why I asked for someone to playtest the level.

> It might be wise to look through the other antXX.lua levels to se if he
> used the same thing elsewhere.

I just did, I couldn't find another occurrence of this particular "pattern".

- Daniel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]