[aquaria] Problem in mantis.lua

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Sun Jun 13 15:57:42 EDT 2010


2010/6/13 Ryan C. Gordon <icculus at icculus.org>:
>
>> I can't think of any way to work around this in the C++ code.
>
> How about this untested hack in Lua (attached)?

Another possibility (but I don't know enough about Lua to know if it's
possible) would be to add some kind of automatic coercition function
to the metatable of light userdata.

If it's not possible to put the Lua scripts under revision control,
maybe that particular script can be updated to either comment out that
line or replace it with something that uses e.g. the entity name
instead of its number?




-- 
Giuseppe "Oblomov" Bilotta


More information about the aquaria mailing list